'gmake' port broken after (due to ?) GCC 3.2 import

2002-09-02 Thread Nickolay Dudorov

Today (after GCC 3.2 import and makeworld) I
try to upgrade 'gmake' port and resulting 'gmake' command
dumps core in the libc's 'qsort'.

When I make 'gmake' without --with-included-gettext
option it work - at least I can make 'databases/gdbm' port with
it (which can be made without USE_GMAKE also :-).

N.Dudorov


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



Re: cvs commit: src/include Makefile

2002-04-03 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 ru  2002/04/03 09:29:20 PST
 
  Modified files:
include  Makefile 
  Log:
  Don't clobber headers that we didn't create.
  
  Noticed by: bde
  Reviewed by:bde

And after that revision and author's testing this
commit breaks buildworld :-(

N.Dudorov

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



Re: latest kernel busted

2002-04-01 Thread Nickolay Dudorov

In article [EMAIL PROTECTED]
M. Warner Losh [EMAIL PROTECTED] wrote:
 === umodem
 cc -O -pipe   -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi 
-DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include -fno-common -g 
-mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c 
/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:840: syntax error 
before `uio'
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: In function 
`umodemread':
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:841: number of 
arguments doesn't match prototype
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:156: prototype 
declaration
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: `dev' 
undeclared (first use in this function)
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: (Each 
undeclared identifier is reported only once
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: for each 
function it appears in.)
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:852: `uio' 
undeclared (first use in this function)
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:852: `flag' 
undeclared (first use in this function)
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: At top level:
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1089: conflicting 
types for `umodem_set_line_coding'
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:188: previous 
declaration of `umodem_set_line_coding'
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: In function 
`umodem_set_line_coding':
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1097: incompatible 
type for argument 1 of `bcmp'
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1109: incompatible 
type for argument 3 of `usbd_do_request'
 /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1116: invalid type 
argument of `unary *'
 *** Error code 1
 
 Ideas?
 
 Warner

Next patch at least unbreaks the kernel building for me.

N.Dudorov

=
Index: sys/dev/usb/umodem.c
===
RCS file: /home/CVS/src/sys/dev/usb/umodem.c,v
retrieving revision 1.38
diff -b -u -r1.38 umodem.c
--- sys/dev/usb/umodem.c1 Apr 2002 21:30:36 -   1.38
+++ sys/dev/usb/umodem.c2 Apr 2002 02:06:53 -
@@ -837,7 +837,7 @@
 }
 
 int
-umodemread(dev_t dev, uio *uio, int flag)
+umodemread(dev_t dev, struct uio *uio, int flag)
 {
struct umodem_softc *sc;
struct tty *tp;
@@ -1085,7 +1085,7 @@
 }
 
 usbd_status
-umodem_set_line_coding(struct umodem_softc *sc, usb_cdc_line_state_t state)
+umodem_set_line_coding(struct umodem_softc *sc, usb_cdc_line_state_t *state)
 {
usb_device_request_t req;
usbd_status err;

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



Re: cvs commit: src/sys/boot/common Makefile.inc

2002-03-28 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 obrien  2002/03/27 17:28:21 PST
 
  Modified files:
sys/boot/common  Makefile.inc 
  Log:
  Not all platforms have and want a.out format support.
  
  Revision  ChangesPath
  1.13  +6 -2  src/sys/boot/common/Makefile.inc

And after that my buildworld on the i386(?) platform
breaks in the 'sys/boot/i386/loader' due to undefined
reference to 'aout_loadfile'.

Where must be (iff any) LOADER_AOUT_SUPPORT defined ?

N.Dudorov

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



Re: cvs commit: src/sys/sys acct.h acl.h bio.h buf.h callout.h conf.h cons.h disk.h disklabel.h diskslice.h domain.h errno.h event.h eventhandler.h exec.h fcntl.h file.h filedesc.h imgact.h imgact_aout.h imgact_elf.h inflate.h interrupt.h ioccom.h ipc.h ...

2002-03-21 Thread Nickolay Dudorov

In article [EMAIL PROTECTED]
Alfred Perlstein [EMAIL PROTECTED] wrote:
 alfred  2002/03/19 12:18:46 PST
 
  Modified files:
sys/sys  acct.h acl.h bio.h buf.h callout.h conf.h 
 cons.h disk.h disklabel.h diskslice.h 
 domain.h errno.h event.h eventhandler.h 
 exec.h fcntl.h file.h filedesc.h imgact.h 
 imgact_aout.h imgact_elf.h inflate.h 
 interrupt.h ioccom.h ipc.h jail.h 
 kernel.h kthread.h ktrace.h libkern.h 
 lockf.h lockmgr.h malloc.h md5.h mman.h 
 mount.h msg.h msgbuf.h namei.h param.h 
 poll.h proc.h protosw.h queue.h 
 regression.h resource.h resourcevar.h 
 rtprio.h selinfo.h sem.h shm.h signal.h 
 signalvar.h socket.h socketvar.h 
 soundcard.h stat.h sysctl.h sysent.h 
 syslog.h sysproto.h systm.h termios.h 
 time.h timeb.h timepps.h times.h timetc.h 
 timex.h tty.h types.h uio.h un.h user.h 
 vnode.h wait.h 
  Log:
  Remove __P

At least in the case of 'ioccom.h' this commit breaks
the XFree86-server building in the 'drm/kernel' directory.

The problem is in the '#define ioctl(a,b,c) xf86ioctl(a,b,c)'
which is used by the XFree86 and the __P somehow makes it possible
to build 'xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/xf86drm.c'
and now it stops here.

N.Dudorov


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



Re: cvs commit: src/lib/libcrypt crypt-md5.c crypt.c crypt.h misc.c src/secure/lib/libcrypt blowfish.c blowfish.h crypt-blowfish.c crypt-des.c

2002-03-07 Thread Nickolay Dudorov

In article [EMAIL PROTECTED]
Mark Murray [EMAIL PROTECTED] wrote:
 markm   2002/03/06 09:18:09 PST
 
  Modified files:
lib/libcrypt crypt-md5.c crypt.c crypt.h misc.c 
secure/lib/libcrypt  blowfish.c blowfish.h crypt-blowfish.c 
 crypt-des.c 
  Log:
  No functional change, but big code cleanup. WARNS, lint(1) and style(9).

This comment is false. On my -CURRENT system with
this commit in place 'passwd' and 'login'/'su' commands
loops forever computing MD5 password.

After reverting crypt-md5.c to rev. 1.8 all thouse
commands work as always.

Was this cleanup tested ?

N.Dudorov

  
  Revision  ChangesPath
  1.9   +47 -47src/lib/libcrypt/crypt-md5.c
  1.22  +9 -7  src/lib/libcrypt/crypt.c
  1.7   +2 -2  src/lib/libcrypt/crypt.h
  1.3   +6 -5  src/lib/libcrypt/misc.c
  1.3   +13 -110   src/secure/lib/libcrypt/blowfish.c
  1.2   +13 -13src/secure/lib/libcrypt/blowfish.h
  1.3   +26 -59src/secure/lib/libcrypt/crypt-blowfish.c
  1.16  +40 -34src/secure/lib/libcrypt/crypt-des.c
 

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



Re: new module-references compile error

2002-01-13 Thread Nickolay Dudorov

In article [EMAIL PROTECTED]
Mike Makonnen [EMAIL PROTECTED] wrote:
 On Sat, 12 Jan 2002 13:22:47 +0100 (MET)
 Michael Class [EMAIL PROTECTED] wrote:
 
 pc-micha:/sys/i386/compile/MCSMP2# make
 linking kernel.debug
 linprocfs.o: In function `linprocfs_donetdev':
 /sys/i386/compile/MCSMP2/../../../compat/linprocfs/linprocfs.c(.text+0xfe9): 
undefined reference to `linux_ifname'
 *** Error code 1
 
 
 A few days ago changes were made to sys/compat/linux/linux_ioctl.c (rev. 1.79, I 
believe) that removed linux_ifname(). Just checkout rev. 1.78 and use that instead.
$
And now linux_ioctl.c has rev. 1.81 and you can not simply revert
it to the rev 1.78 or 1.77.

Is there any intentions to unbroke current after removing
linux_ifname() and not change linprocfs.c which needs it ?

N.Dudorov 

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



Re: cvs commit: src/sbin/reboot boot_i386.8 src/sys/boot/i386/libi386 bootinfo.c src/sys/i386/i386 autoconf.c src/sys/kern tty_cons.c src/sys/sys cons.h reboot.h

2001-12-10 Thread Nickolay Dudorov

In article [EMAIL PROTECTED]
Guido van Rooij [EMAIL PROTECTED] wrote:
 guido   2001/12/10 12:02:22 PST
 
  Modified files:
sbin/reboot  boot_i386.8 
sys/boot/i386/libi386 bootinfo.c 
sys/i386/i386autoconf.c 
sys/kern tty_cons.c 
sys/sys  cons.h reboot.h 
  Log:
  Add new boot flag to i386 boot: -p.
  This flag adds a pausing utility. When ran with -p, during the kernel
  probing phase, the kernel will pause after each line of output.
  This pausing can be ended with the '.' key, and is automatically
  suspended when entering ddb.
  
  This flag comes in handy at systems without a serial port that either hang
  during booting or reser.
  Reviewed by:(partly by jlemon)
  MFC after:  1 week
  
  Revision  ChangesPath
  1.32  +3 -1  src/sbin/reboot/boot_i386.8
  1.31  +3 -0  src/sys/boot/i386/libi386/bootinfo.c
  1.160 +1 -1  src/sys/i386/i386/autoconf.c
  1.97  +24 -0 src/sys/kern/tty_cons.c
  1.27  +1 -0  src/sys/sys/cons.h
  1.20  +1 -0  src/sys/sys/reboot.h

CURRENT kernel is not buildable (in fact linkable)
after this commit without DDB option.
 There is unguarded by ifdef DDB usage of 'db_active'
variable at line 552 of 'src/sys/kern/tty_cons.c'.

I know that using CURRENT without 'options DDB' is
not recomended, but there is MFC after: 1 week in this
commit, so this error must be corrected before this time.

N.Dudorov

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



Re: lomac import broke world

2001-11-27 Thread Nickolay Dudorov

In article [EMAIL PROTECTED]
Andrey A. Chernov [EMAIL PROTECTED] wrote:
 cc -O -pipe -march=pentiumpro -DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING 
 -Wall
 -DINET6 -I/usr/src/libexec/ftpd -Dmain=ls_main 
 -I/usr/src/libexec/ftpd/../../bin/ls -DUSE_PAM
 -o ftpd ftpd.o ftpcmd.o logwtmp.o popen.o ls.o cmp.o 
 print.o
 util.o  -lmd -lcrypt -lutil -lopie -lpam
 ls.o: In function `display':
 ls.o(.text+0x9b0): undefined reference to `lomac_start'
 ls.o(.text+0xd02): undefined reference to `get_lattr'
 ls.o(.text+0xfe2): undefined reference to `lomac_stop'
 *** Error code 1

I use the next patch to buildworld :

N.Dudorov

Index: Makefile
===
RCS file: /scratch/CVS/src/libexec/ftpd/Makefile,v
retrieving revision 1.44
diff -b -u -r1.44 Makefile
--- Makefile9 Jul 2001 17:46:24 -   1.44
+++ Makefile27 Nov 2001 11:04:44 -
@@ -19,7 +19,7 @@
 
 LSDIR= ../../bin/ls
 .PATH: ${.CURDIR}/${LSDIR}
-SRCS+= ls.c cmp.c print.c util.c
+SRCS+= ls.c cmp.c print.c util.c lomac.c
 CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
 
 .if !defined(NOPAM)

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



Re: cvs commit: src/sys/conf files src/sys/dev/ciss ciss.c cissio.h cissreg.h cissvar.h src/sys/modules Makefile src/sys/modules/ciss Makefile src/sys/i386/conf NOTES

2001-11-27 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 msmith  2001/11/27 15:08:37 PST
 
  Modified files:
sys/conf files 
sys/modules  Makefile 
sys/i386/confNOTES 
  Added files:
sys/dev/ciss ciss.c cissio.h cissreg.h cissvar.h 
sys/modules/ciss Makefile 
  Log:
  Add the 'ciss' driver, which supports the Compaq SmartRAID 5* family of
  RAID controllers (5300, 532, 5i, etc.)
  
  Thanks to Compaq and Yahoo! for support during the development of this
  driver.
  
  MFC after:  1 week
  
  Revision  ChangesPath
  1.584 +1 -0  src/sys/conf/files
  1.1   +3368 -0   src/sys/dev/ciss/ciss.c (new)
  1.1   +203 -0src/sys/dev/ciss/cissio.h (new)
  1.1   +670 -0src/sys/dev/ciss/cissreg.h (new)
  1.1   +375 -0src/sys/dev/ciss/cissvar.h (new)
  1.981 +7 -0  src/sys/i386/conf/NOTES
  1.218 +1 -0  src/sys/modules/Makefile
  1.1   +11 -0 src/sys/modules/ciss/Makefile (new)

And I can buildkernel only after the next patch:


Index: sys/dev/ciss/ciss.c
===
RCS file: /scratch/CVS/src/sys/dev/ciss/ciss.c,v
retrieving revision 1.1
diff -b -u -r1.1 ciss.c
--- sys/dev/ciss/ciss.c 27 Nov 2001 23:08:36 -  1.1
+++ sys/dev/ciss/ciss.c 28 Nov 2001 06:51:18 -
@@ -216,7 +216,7 @@
 static struct cdevsw ciss_cdevsw = {
 ciss_open, ciss_close, noread, nowrite, ciss_ioctl,
 nopoll, nommap, nostrategy, ciss, CISS_CDEV_MAJOR,
-nodump, nopsize, 0, -1
+nodump, nopsize, 0, NULL
 };
 
 /
@@ -3210,7 +3210,7 @@
  * Handle an open on the control device.
  */
 static int
-ciss_open(dev_t dev, int flags, int fmt, struct proc *p)
+ciss_open(dev_t dev, int flags, int fmt, struct thread *td)
 {
 struct ciss_softc  *sc;
 
@@ -3228,7 +3228,7 @@
  * Handle the last close on the control device.
  */
 static int
-ciss_close(dev_t dev, int flags, int fmt, struct proc *p)
+ciss_close(dev_t dev, int flags, int fmt, struct thread *td)
 {
 struct ciss_softc  *sc;
 
@@ -3247,7 +3247,7 @@
  * simplify the porting of Compaq's userland tools.
  */
 static int
-ciss_ioctl(dev_t dev, u_long cmd, caddr_t addr, int32_t flag, struct proc *p)
+ciss_ioctl(dev_t dev, u_long cmd, caddr_t addr, int32_t flag, struct thread *td)
 {
 struct ciss_softc  *sc;
 interror;

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



Re: cvs commit: src/sys/compat/svr4 svr4_stream.c src/sys/kern kern_descrip.c sys_socket.c uipc_socket.c uipc_socket2.c uipc_syscalls.c uipc_usrreq.c src/sys/net raw_cb.c raw_usrreq.c src/sys/netatalk ddp_usrreq.c src/sys/netatm atm_socket.c ...

2001-11-17 Thread Nickolay Dudorov

In article [EMAIL PROTECTED]
Matt Dillon [EMAIL PROTECTED] wrote:
 dillon  2001/11/16 19:07:12 PST
 
  Modified files:
sys/compat/svr4  svr4_stream.c 
sys/kern kern_descrip.c sys_socket.c uipc_socket.c 
 uipc_socket2.c uipc_syscalls.c 
 uipc_usrreq.c 
sys/net  raw_cb.c raw_usrreq.c 
sys/netatalk ddp_usrreq.c 
sys/netatm   atm_socket.c 
sys/netinet  in_pcb.c 
sys/netinet6 in6_pcb.c 
sys/netipx   ipx_pcb.c ipx_usrreq.c 
sys/netnatm  natm.c 
sys/netnsidp_usrreq.c ns_pcb.c 
sys/nfsservernfs_syscalls.c 
sys/sys  file.h socketvar.h 
  Log:
  Give struct socket structures a ref counting interface similar to
  vnodes.  This will hopefully serve as a base from which we can
  expand the MP code.  We currently do not attempt to obtain any
  mutex or SX locks, but the door is open to add them when we nail
  down exactly how that part of it is going to work.


There is at least one more usage of the deleted by this
commit 'holdsock' in the sys/compat/linux/linux_socket.c which
makes the kernel unbuildable.

Unfortunately I can not fix this case mechanically
as in many other places where 'holdsock' was used before.

N.Dudorov

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



Re: cvs commit: src/sys/kern subr_smp.c src/sys/sys smp.h

2001-10-31 Thread Nickolay Dudorov

In article [EMAIL PROTECTED]
Marcel Moolenaar [EMAIL PROTECTED] wrote:
 marcel  2001/10/31 01:03:05 PST
 
  Modified files:
sys/kern subr_smp.c 
sys/sys  smp.h 
  Log:
  Make smp_started volatile in sys/smp.h and remove the volatile
  declaration in subr_smp.c. This solves a compile problem with
  gcc 3.0.1 (ia64 cross-build).
  
  Reviewed: jhb
  
  Revision  ChangesPath
  1.159 +1 -2  src/sys/kern/subr_smp.c
  1.69  +2 -2  src/sys/sys/smp.h

This patch totally remove THE definition(?) of
smp_started from subr_smp.c and thus make the kernel unbuildable.

N.Dudorov

P.S. The fix is obvious - return smp_started definition
minus 'volatile' to the subr_smp.c

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



Re: device.hints PCI detection conflict

2001-10-27 Thread Nickolay Dudorov

In article [EMAIL PROTECTED]
Andrey A. Chernov [EMAIL PROTECTED] wrote:
 Bootverbose shows that second copy of devices appearse on ASUS CUSL2-C or 
 TUSL2-C:
 
 atkbdc-: atkbdc0 already exists, using atkbdc1 instead
 sc-: sc0 already exists, using sc1 instead
 vga-: vga0 already exists, using vga1 instead
 
 vga-: line is especially dangerous since cause fake second VGA detection 
 (as MDA) which cause panic with recent duplicate make_dev panics commit.
 
 It looks like conflict with /boot/device.hints here.
 If I remove this line
 hint.sc.0.at=isa
 from device.hints, no fake second VGA appearse (the bug is gone), BUT...
 I have absolutely NO console output. If I put this line back, console 
 oputput appearse and bug too.
 
 Removing atkbdc  vga hints from device.hints cause atkbdc-  vga- lines 
 gone, which indicates conflict too. But sc hint can't be removed because 
 it results with no console output.
 
 Please fix it somehow.

In my case (ABIT's BP6 motherboard) the problem
disapear after switching on ACPI (there is the problem with
the fdc0 - cannot reserve I/O port range (1 ports) but now 
I can some time live without floppies :-).

N.Dudorov

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



Re: Is it possible to make 4.4-REELASE on the -CURRENT ?

2001-09-24 Thread Nickolay Dudorov


MFC to 4.4-RELEASE ?
Does this means that there is NO correct way to make
4.4-RELEASE on the latest -CURRENT ?

In article [EMAIL PROTECTED] you wrote:
 MFC of mknodes.c,v 1.13 is needed to pass this.
 
 On Fri, Sep 21, 2001 at 02:24:46PM +0700, Nickolay Dudorov wrote:
   When I try to make release ... RELEASETAG=RELENG_4_4_0_RELEASE
 on the freshly buildworld-ed -CURRENT it stops on the
 
  stage 2: build tools
 
 with the following diagnostics:
 
 cd /usr/src/bin/sh; make build-tools
 cc -O -pipe  -DSHELL -I. -I/usr/src/bin/sh -Wall -Wformat-c 
/usr/src/bin/sh/mkinit.c
 cc -O -pipe  -DSHELL -I. -I/usr/src/bin/sh -Wall -Wformat -static mkinit.o  -o 
mkinit
 cc -O -pipe  -DSHELL -I. -I/usr/src/bin/sh -Wall -Wformat-c 
/usr/src/bin/sh/mknodes.c
 /usr/src/bin/sh/mknodes.c:101: initializer element is not constant
 *** Error code 1
 
 Stop in /usr/src/bin/sh.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
   How can I make release ?
 
 
 

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



Is it possible to make 4.4-REELASE on the -CURRENT ?

2001-09-21 Thread Nickolay Dudorov

When I try to make release ... RELEASETAG=RELENG_4_4_0_RELEASE
on the freshly buildworld-ed -CURRENT it stops on the

 stage 2: build tools

with the following diagnostics:

cd /usr/src/bin/sh; make build-tools
cc -O -pipe  -DSHELL -I. -I/usr/src/bin/sh -Wall -Wformat-c 
/usr/src/bin/sh/mkinit.c
cc -O -pipe  -DSHELL -I. -I/usr/src/bin/sh -Wall -Wformat -static mkinit.o  -o 
mkinit
cc -O -pipe  -DSHELL -I. -I/usr/src/bin/sh -Wall -Wformat-c 
/usr/src/bin/sh/mknodes.c
/usr/src/bin/sh/mknodes.c:101: initializer element is not constant
*** Error code 1

Stop in /usr/src/bin/sh.
*** Error code 1

Stop in /usr/src.
*** Error code 1

How can I make release ?

N.Dudorov

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



Re: aac module broken

2001-08-30 Thread Nickolay Dudorov

 On Thu, 30 Aug 2001 08:12:42 -0500, Michael Harnois [EMAIL PROTECTED] said:
 
 /usr/src/sys/modules/aac/../../dev/aac/aac.c: At top level:
 /usr/src/sys/modules/aac/../../dev/aac/aac.c:1976: warning:
 `aac_describe_code' was used with no prototype before its
 definition /usr/src/sys/modules/aac/../../dev/aac/aac.c:1976:
 conflicting types for `aac_describe_code'
 /usr/src/sys/modules/aac/../../dev/aac/aac.c:156: previous
 declaration of `aac_describe_code'
 
 Should have looked before I leapt, the actual fatal error is here:
 
 /usr/src/sys/modules/aac/../../dev/aac/aac.c:156: syntax error before `u_int32_t
 '

There obviously must be comma at the end of the line 155 of the
'sys/dev/aac/aac.c' file.

N.Dudorov

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



Re: cvs commit: src/sys/kern kern_idle.c

2000-10-18 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 jhb 2000/10/18 01:10:25 PDT
 
   Modified files:
 sys/kern kern_idle.c 
   Log:
   Don't needlessly pass the diagnostic counter to the idle_event event
   handlers.

And you just change one broken version to another -
now there is unsufficient number of parameters to 
EVENTHANDLER_FAST_INVOKE at line 106 of kern_idle.c

I've try to substitute '0' for the second parameter.
The buildkernel successfully finished. Let's see how this kernel'll
work ;-)

N.Dudorov


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



Re: cvs commit: src/lib/libusb descr.c libusb.h parse.c usage.c usb.3

2000-10-17 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 n_hibma 2000/10/16 11:14:00 PDT
 
   Modified files:
 lib/libusb   descr.c libusb.h parse.c usage.c usb.3 
   Log:
   Sync with NetBSD:
   
   KR - ANSI
   
   Bugfix: 'Keep the bit position even when the report descriptor says POP.'
   
   Add hid_use_report_desc, hid_parse_usage_page, hid_parse_usage_in_page.
   
   Changed iface for hid_report_size.

The last part breaks building of 'usr.bin/usbhidctl'.
The next patch make it possible to build (but I have no means
to test if it is working at all).

N.Dudorov

   
Index: usr.bin/usbhidctl/usbhid.c
===
RCS file: /scratch/CVS/src/usr.bin/usbhidctl/usbhid.c,v
retrieving revision 1.2
diff -b -u -r1.2 usbhid.c
--- usr.bin/usbhidctl/usbhid.c  2000/10/09 05:44:39 1.2
+++ usr.bin/usbhidctl/usbhid.c  2000/10/17 05:31:39
@@ -147,17 +147,17 @@
}
}
hid_end_parse(d);
-   size = hid_report_size(r, hid_input, report_id);
+   size = hid_report_size(r, report_id, hid_input);
size -= report_id != 0;
printf("Total   input size %s%d bytes\n", 
   report_id  size ? "1+" : "", size);
   
-   size = hid_report_size(r, hid_output, report_id);
+   size = hid_report_size(r, report_id, hid_output);
size -= report_id != 0;
printf("Total  output size %s%d bytes\n",
   report_id  size ? "1+" : "", size);
 
-   size = hid_report_size(r, hid_feature, report_id);
+   size = hid_report_size(r, report_id, hid_feature);
size -= report_id != 0;
printf("Total feature size %s%d bytes\n",
   report_id  size ? "1+" : "", size);
@@ -225,7 +225,7 @@
}
hid_end_parse(d);
rev(hids);
-   dlen = hid_report_size(rd, hid_input, report_id);
+   dlen = hid_report_size(rd, report_id, hid_input);
dbuf = malloc(dlen);
if (!loop)
if (ioctl(f, USB_SET_IMMED, one)  0) {


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



Re: video mpeg broken?

2000-10-10 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 It seems that something has broken plaympeg - at least for video. In
 trying to play video back, I get a black window and no images.  Audio
 playback seems fine. This is something I don't do often, so I'm not
 sure when it happened.
 
 Anyone else seeing this? Anyone working on it?

I've seen this "black window" with plaympeg also.
It sometimes help if I move the window - after that I can see
the video. (My system - -current with XFree86-4.01 and
Matrox MGA G200 AGP, SDL -1.1.4, SMPEG - 0.4.0).

N.Dudorov 


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



Re: interesting problem

2000-09-28 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 
 I don't think this has much to to with the current situation: based on
 the evidence we have seen, it seems that Tony has tried to boot a
 release snapshot of -CURRENT.  It failed.  Coincidentally, he has also
 disabled IDE support in the belief that this might buy him something.
 Now he comes and claims that there is a connection between these two
 events, but he doesn't give us any evidence.

I must say that (at least in my configuration) there IS
the connection between 'trap 12' while booting CURRENT builded
(with build+install-world and build+install-kernel) at 27.09 and
28.09  AND disabled in BIOS IDE controller.

My system is based on Abit's BP6 motherboard with two
Celerons 366. If I disable in BIOS conf. menu standard IDE controller
and try to boot the system with the (ATA) disks on the HPT366 controller
I receive 'trap 12' after 'atapci0: Busmastering DMA not enabled' message.
After enabling primary IDE controller in BIOS without any disks or
CDROMs on it I successfully boot this -current system and write this
message from it.

-current builded at 24.09 successfully boots and works
on my system with primary and secondary IDE controllers disabled
in BIOS.

Unfortunately I have no time to spend on debugging this
situation. If somebody ( sos ?) wants the screen shot of the trap
message I can send it to you (with the results of the 'nm'-ing
the kernel ?).

N.Dudorov


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



Re: cvs commit: src/bin/ps print.c src/share/man/man9 mutex.9 Makefile src/usr.bin/top machine.c src/sys/alpha/alpha mp_machdep.c synch_machdep.c clock.c genassym.c interrupt.c ipl_funcs.c locore.s machdep.c mem.c pmap.c prom.c support.s swtch.s trap.c ...

2000-09-07 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 jasone  2000/09/06 18:33:03 PDT
 
   Modified files:
.
   1.7   +39 -5 src/sys/i386/include/globals.h

One of the changes is at line 107 :
#define currentldt  GLOBAL_LVALUE(currentldt, int)

was changed to 

#define currentldt  GLOBAL_RVALUE(currentldt, int)

whereas in 'sys/i386/i386/machdep.c' at line 1914 we have

currentldt = _default_ldt;

and it leads to error while making kernel.

All this lines are guarded by USER_LDT option, so
you can make your kernel but my is not buildable ;-(

After reverting this L-RVALUE change I at least can
build kernel. Let's see how (if ever) it will work.

N.Dudorov


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



Re: cvs commit: src/sys/sys libkern.h

2000-09-03 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 peter   2000/09/02 23:04:17 PDT
 
   Modified files:
 sys/sys  libkern.h 
   Log:
   libkern.h now internally uses the bzero() definition from sys/systm.h.
   This is kinda important since the bzero symbol on i386 is not a function
   but a function pointer..  If memset() tried to call it as though it were
   a function, things would be less than satisfactory.  In reality though
   this was not an actual problem and just caused compile warnings.

But now lines 40 and 41 of 'src/sys/sys/libkern.h' ver. 1.22 
are:

#include sys/types.h
#include sys/systm.h

'srs/sys/types.h' contains (at lines 117 and 118) macros
'minor' and 'najor' definitions for which are also in 'src/sys/sys/systm.h'
(at lines 331 and 332). This results (at least) in 'src/lib/libstand'
brokeness due to 'make buildworld'.

Please repair the damage ;-)


N.Dudorov


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



Re: cvs commit: src/sys/kern uipc_socket2.c

2000-08-31 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 green   2000/08/29 17:09:58 PDT
 
   Modified files:
 sys/kern uipc_socket2.c 
   Log:
   Remove an extraneous setting of sb_hiwat.
   
   Revision  ChangesPath
   1.63  +1 -2  src/sys/kern/uipc_socket2.c

After reverting this file to rev 1.62 i can build, boot
and use my kernel. The kernels builded after yesterday's and today's
cvsup (i.e. with the 1.63 rev of sys/kern/uipc_socket2.c) hung after
ssh-ing to this system (or telnet-ting ;-). (See 'current' and 'stable'
maillists for more detailed description of the problem). 

N.Dudorov


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



Re: cvs commit: src/secure/lib/libcrypto Makefile Makefile.inc

2000-08-24 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 green   2000/08/23 04:41:01 PDT
 
   Modified files:
 secure/lib/libcrypto Makefile Makefile.inc 
   Log:
   Generate a new evp.h at build-time instead of install-time to properly
   support NFS(ro) installworlds.
   
   Revision  ChangesPath
   1.22  +3 -5  src/secure/lib/libcrypto/Makefile
   1.16  +6 -3  src/secure/lib/libcrypto/Makefile.inc

I usually run 'make -j32 buildworld' on my current
system. After this commit I can not do this. The next patch
permits to use '-j32' again.

N.Dudorov

 
Index: src/secure/lib/libcrypto/Makefile
===
RCS file: /store/CVS/src/secure/lib/libcrypto/Makefile,v
retrieving revision 1.22
diff -b -u -r1.22 Makefile
--- src/secure/lib/libcrypto/Makefile   2000/08/23 11:41:00 1.22
+++ src/secure/lib/libcrypto/Makefile   2000/08/24 07:59:34
@@ -268,6 +268,7 @@
des_crypt.3 des_enc_read.3 des_crypt.3 des_enc_write.3 \
des_crypt.3 des_set_odd_parity.3 des_crypt.3 des_is_weak_key.3
 
+.ORDER:  openssl/opensslconf.h openssl/evp.h
 beforeinstall:  openssl/opensslconf.h openssl/evp.h
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
${CRYPTO_HDRS} openssl/opensslconf.h \


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



Re: cvs commit: src/sys/modules/md opt_devfs.h Makefile

2000-08-21 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 phk 2000/08/21 00:45:38 PDT
 
   Modified files:
 sys/modules/md   Makefile 
   Added files:
 sys/modules/md   opt_devfs.h 
   Log:
   Add dummy opt_devfs.h file.

It seems to me that my patch is better ;-)

N.Dudorov

   
Index: src/sys/modules/md/Makefile
===
RCS file: /store/CVS/src/sys/modules/md/Makefile,v
retrieving revision 1.5
diff -r1.5 Makefile
5c5
 SRCS= md.c opt_mfs.h opt_md.h
---
 SRCS= md.c opt_mfs.h opt_md.h opt_devfs.h


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



Re: cvs commit: src/sys/pccard pccard_nbk.c pcic.c

2000-08-11 Thread Nickolay Dudorov

After the next commit 'make buildkernel' stops in
'sys/modules/oldcard' directory. After applaing the following patch
I can make buildkernel.

N.Dudorov

 imp 2000/08/10 10:35:11 PDT
 
   Modified files:
 sys/pccard   pccard_nbk.c pcic.c 
   Log:
   Add some infrastructure support for dealing with large attribute
   memory space needed by the raylink driver (in progress, nearing
   completion).
   
   This is a minorly cleaned up diff from Duncan to help him reduce the
   diffs from stock FreeBSD.
   
   Submitted by: Duncan Barclay [EMAIL PROTECTED]
   
   Revision  ChangesPath
   1.20  +10 -1 src/sys/pccard/pccard_nbk.c
   1.95  +53 -6 src/sys/pccard/pcic.c

 
Index: sys/dev/pccard/card_if.m
===
RCS file: /store/CVS/src/sys/dev/pccard/card_if.m,v
retrieving revision 1.6
diff -b -u -r1.6 card_if.m
--- sys/dev/pccard/card_if.m2000/06/18 05:02:09 1.6
+++ sys/dev/pccard/card_if.m2000/08/11 06:00:24
@@ -66,6 +66,13 @@
 u_int32_t offset;
 }
 
+METHOD int get_memory_offset {
+   device_t  dev;
+   device_t  child;
+int  rid;
+u_int32_t *offset;
+}
+
 #
 # pccard bridges call this method to initate the attachment of a card
 #


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



Re: cvs commit: src/sys/sys select.h

2000-08-06 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 green   2000/08/05 19:14:53 PDT
 
   Modified files:
 sys/sys  select.h 
   Log:
   None of select.h needs to be exposed to !_KERNEL.

But 'src/lib/lib/libkvm/libkvm_proc.c' does
'#include sys/tty.h' which in turn has the line:

#include sys/select.h /* For struct selinfo */


As a result 'make buildworld' stops in
'src/lib/libkvm'.

N.Dudorov   


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



Re: cvs commit: src/usr.bin/kdump mkioctls

2000-08-01 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 
 ru  2000/08/01 01:15:06 PDT
 
   Modified files:
 usr.bin/kdumpmkioctls 
   Log:
   Fix an off-by-nine error when building a list of includes.
   
   Revision  ChangesPath
   1.17  +2 -2  src/usr.bin/kdump/mkioctls

After this commit newly generated 'ioctl.c'
includes net/if_ieee80211.h which used 'ETHER_ADDR_LEN'
defined in net/ethernet.h which is not included in 'ioctl.c'.

With the next patch I can make "usr.bin/kdump" and
"usr.bin/truss".

Index: src/usr.bin/kdump/mkioctls
===
RCS file: /store/CVS/src/usr.bin/kdump/mkioctls,v
retrieving revision 1.17
diff -b -u -r1.17 mkioctls
--- src/usr.bin/kdump/mkioctls  2000/08/01 08:15:06 1.17
+++ src/usr.bin/kdump/mkioctls  2000/08/02 05:28:33
@@ -41,6 +41,7 @@
print "#include net/if.h"
print "#include net/if_var.h"
print "#include net/route.h"
+   print "#include net/ethernet.h"
print "#include netatm/atm.h"
print "#include netatm/atm_if.h"
print "#include netatm/atm_sap.h"


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



Re: cvs commit: src/sys/net ethernet.h

2000-07-19 Thread Nickolay Dudorov

And (the last) one more patch to make
'buildworld' successfull:


Index: usr.sbin/wlconfig/wlconfig.c
===
RCS file: /store/CVS/src/usr.sbin/wlconfig/wlconfig.c,v
retrieving revision 1.8
diff -b -u -r1.8 wlconfig.c
--- usr.sbin/wlconfig/wlconfig.c1999/08/28 01:20:39 1.8
+++ usr.sbin/wlconfig/wlconfig.c2000/07/19 06:06:24
@@ -69,7 +69,6 @@
 #include net/if.h
 #include netinet/in.h
 #include netinet/if_ether.h
-extern struct ether_addr *ether_aton(char *a);
 
 #include err.h
 #include stdio.h
In [EMAIL PROTECTED] Nickolay Dudorov [EMAIL PROTECTED] wrote:
   There is one more 'buildworld' problem - in 
 'src/usr.sbin/ipsend'. The (analogous) patch correct it:
 
 Index: contrib/ipfilter/iplang/iplang_y.y
 ===
 RCS file: /store/CVS/src/contrib/ipfilter/iplang/iplang_y.y,v
 retrieving revision 1.1.1.6
 diff -b -u -r1.1.1.6 iplang_y.y
 --- contrib/ipfilter/iplang/iplang_y.y2000/05/24 02:14:18 1.1.1.6
 +++ contrib/ipfilter/iplang/iplang_y.y2000/07/19 04:59:38
 @@ -48,7 +48,7 @@
  #include "ipf.h"
  #include "iplang.h"
  
 -#ifndef __NetBSD__
 +#if !defined(__NetBSD__)  ! defined(__FreeBSD__)
  extern   struct ether_addr *ether_aton __P((char *));
  #endif
  
 In [EMAIL PROTECTED] Archie Cobbs [EMAIL PROTECTED] 
wrote:
 archie  2000/07/18 15:44:52 PDT
 
   Modified files:
 sys/net  ethernet.h 
   Log:
   Const'ify parameters to ethers(3) routines as appropriate.
   
   Revision  ChangesPath
   1.16  +6 -6  src/sys/net/ethernet.h
 
  This breaks 'buildworld' in the 'lib/libpcap'.
 
  The next patch seems to correct the error.
 
  N.Dudorov
 
 Index: contrib/libpcap/nametoaddr.c
 ===
 RCS file: /store/CVS/src/contrib/libpcap/nametoaddr.c,v
 retrieving revision 1.6
 diff -b -u -r1.6 nametoaddr.c
 --- contrib/libpcap/nametoaddr.c 2000/01/30 00:43:34 1.6
 +++ contrib/libpcap/nametoaddr.c 2000/07/19 04:02:27
 @@ -366,7 +366,7 @@
  }
  #else
  
 -#if !defined(sgi)  !defined(__NetBSD__)
 +#if !defined(sgi)  !defined(__NetBSD__)  !defined(__FreeBSD__)
  extern int ether_hostton(char *, struct ether_addr *);
  #endif
  
 
 
 
 


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



Re: cvs commit: src/sys/net ethernet.h

2000-07-18 Thread Nickolay Dudorov

In [EMAIL PROTECTED] Archie Cobbs [EMAIL PROTECTED] 
wrote:
 archie  2000/07/18 15:44:52 PDT
 
   Modified files:
 sys/net  ethernet.h 
   Log:
   Const'ify parameters to ethers(3) routines as appropriate.
   
   Revision  ChangesPath
   1.16  +6 -6  src/sys/net/ethernet.h

This breaks 'buildworld' in the 'lib/libpcap'.

The next patch seems to correct the error.

N.Dudorov

Index: contrib/libpcap/nametoaddr.c
===
RCS file: /store/CVS/src/contrib/libpcap/nametoaddr.c,v
retrieving revision 1.6
diff -b -u -r1.6 nametoaddr.c
--- contrib/libpcap/nametoaddr.c2000/01/30 00:43:34 1.6
+++ contrib/libpcap/nametoaddr.c2000/07/19 04:02:27
@@ -366,7 +366,7 @@
 }
 #else
 
-#if !defined(sgi)  !defined(__NetBSD__)
+#if !defined(sgi)  !defined(__NetBSD__)  !defined(__FreeBSD__)
 extern int ether_hostton(char *, struct ether_addr *);
 #endif
 


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



Re: cvs commit: src/sys/net ethernet.h

2000-07-18 Thread Nickolay Dudorov

There is one more 'buildworld' problem - in 
'src/usr.sbin/ipsend'. The (analogous) patch correct it:

Index: contrib/ipfilter/iplang/iplang_y.y
===
RCS file: /store/CVS/src/contrib/ipfilter/iplang/iplang_y.y,v
retrieving revision 1.1.1.6
diff -b -u -r1.1.1.6 iplang_y.y
--- contrib/ipfilter/iplang/iplang_y.y  2000/05/24 02:14:18 1.1.1.6
+++ contrib/ipfilter/iplang/iplang_y.y  2000/07/19 04:59:38
@@ -48,7 +48,7 @@
 #include "ipf.h"
 #include "iplang.h"
 
-#ifndef __NetBSD__
+#if !defined(__NetBSD__)  ! defined(__FreeBSD__)
 extern struct ether_addr *ether_aton __P((char *));
 #endif
 
 In [EMAIL PROTECTED] Archie Cobbs [EMAIL PROTECTED] 
wrote:
 archie  2000/07/18 15:44:52 PDT
 
   Modified files:
 sys/net  ethernet.h 
   Log:
   Const'ify parameters to ethers(3) routines as appropriate.
   
   Revision  ChangesPath
   1.16  +6 -6  src/sys/net/ethernet.h
 
   This breaks 'buildworld' in the 'lib/libpcap'.
 
   The next patch seems to correct the error.
 
   N.Dudorov
 
 Index: contrib/libpcap/nametoaddr.c
 ===
 RCS file: /store/CVS/src/contrib/libpcap/nametoaddr.c,v
 retrieving revision 1.6
 diff -b -u -r1.6 nametoaddr.c
 --- contrib/libpcap/nametoaddr.c  2000/01/30 00:43:34 1.6
 +++ contrib/libpcap/nametoaddr.c  2000/07/19 04:02:27
 @@ -366,7 +366,7 @@
  }
  #else
  
 -#if !defined(sgi)  !defined(__NetBSD__)
 +#if !defined(sgi)  !defined(__NetBSD__)  !defined(__FreeBSD__)
  extern int ether_hostton(char *, struct ether_addr *);
  #endif
  
 
 


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



Re: cvs commit: src/usr.sbin/ancontrol ancontrol.c

2000-06-19 Thread Nickolay Dudorov

In [EMAIL PROTECTED] Ollivier Robert [EMAIL PROTECTED] 
wrote:
 roberto 2000/06/18 16:10:20 PDT
 
   Modified files:
 usr.sbin/ancontrol   ancontrol.c 
   Log:
   Fix potential buffer overflows (even if ancontrol is not setuid).
   
   Submitted by:   Aaron Campbell [EMAIL PROTECTED] from OpenBSD
   
   Revision  ChangesPath
   1.2   +12 -15src/usr.sbin/ancontrol/ancontrol.c

The first line of the resulting file (with the $OpenBSD: tag)
close the comment and makes this file uncompilable.

N.Dudorov 


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



Re: make release problem

2000-05-13 Thread Nickolay Dudorov

In [EMAIL PROTECTED] Mike Smith [EMAIL PROTECTED] wrote:
 
 In trying to build "make release" today, I discovered that the
 "vn" driver is required now to build the boot floppies.
 
 What do you mean "now"?  It's _always_ been required.
 
 I would suggest that this driver be added to "GENERIC". For
 what it's worth, I added the driver to my kernel, rebooted, and
 completed the make release.
 
 vnconfig should just load the KLD; if this doesn't work, you can load it 
 manually.  Rebuilding a kernel is not required (and shouldn't be).

Some care must be taken when cross-building release -
f.e. building 4.0-STABLE on the CURRENT system. Loading the KLD by
vnconfig will use the newly build module in the chrooted environment
i.e. 4.0-STABLE module while the kernel is CURRENT. So the module must
be IN before to start 'make release'.

N.Dudorov 


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



Re: It seems that SCSI code still use block devices

2000-05-10 Thread Nickolay Dudorov

In [EMAIL PROTECTED] Andrey A. Chernov [EMAIL PROTECTED] wrote:
 Just got from recent kernel:
 
 Mounting root from ufs:/dev/da0s1a
 Device char-major=13 minor=131072 opened in block mode, convert to char mode with 
/dev/MAKEDEV before 2000-07-01
 
 The suggestion is strange indeed, /dev/da0s1a ALREADY IS character device.
 It means that kernel mounting code itself still use block devices.

Moreover I've got:

Mounting root from ufs:/dev/ad0s1a
^^
Device char-major=116 minor=131072 opened in block mode, convert to char mode with 
/dev/MAKEDEV before 2000-07-01

So the problem is not in the SCSI code, but in the
"root mounting" code.

N.Dudorov



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



Re: make world left me with an unbootable system

2000-04-20 Thread Nickolay Dudorov

In [EMAIL PROTECTED] Adam 
[EMAIL PROTECTED] wrote:
 Last night around midnight EST I cvsupped and did make buildworld, config
 -r'ed my kernel, compiled it, installed the kernel and did make
 installworld. I rebooted expecting the system to come up fine but it
 failed with "Invalid partition table".

Me too
There is some problems with "/boot/loader". You can just
hit the key due to "|/-..." propelling and load "/boot/loader.old"
instead of "/boot/loader". (And the first thing I make on the
booted system - "cp /boot/loader.old /boot/loader.good" ;-)

N.Dudorov


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



Re: libl.a in libipsec

2000-03-28 Thread Nickolay Dudorov

In [EMAIL PROTECTED] Yoshinobu Inoue 
[EMAIL PROTECTED] wrote:
 These days I've cvsup-ed to current and start to 'make world' from my
 3.4 RELEASE. Everything was ok, till making /usr/src/lib/libipsec where some
 dependencies of /usr/src/lib/libl.a was not found? Any ideas?
 
 I am checking it now, but not yet clear why it happens.  In
 old environments, libl.a seemed to be already installed at
 that time, but now it doesn't exist at libipsec build time.

libl.a isn't necessary for libipsec building at all.
The error now is the result of adding ${LIBL} to DPADD by bde
in the ver 1.3 of the Makefile in the src/lib/libipsec.

N.Dudorov


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



Re: libl.a in libipsec

2000-03-28 Thread Nickolay Dudorov

In [EMAIL PROTECTED] Yoshinobu Inoue 
[EMAIL PROTECTED] wrote:
  I am checking it now, but not yet clear why it happens.  In
  old environments, libl.a seemed to be already installed at
  that time, but now it doesn't exist at libipsec build time.
  
  libl.a isn't necessary for libipsec building at all.
 The error now is the result of adding ${LIBL} to DPADD by bde
 in the ver 1.3 of the Makefile in the src/lib/libipsec.
 
  N.Dudorov
 
 Thanks, after removing libl related dependency from libipsec
 Makefile, buildworld just passed libipsec part.
 libl.a was not used on the first place. :-
 
 I'll commit the fix.

It seems to me (and my buildworld agree with this)
that 'liby' is also not necessary for building of 'libipsec'.

N.Dudorov 


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



'machine/param.h' required for 'sys/socket.h'

2000-03-21 Thread Nickolay Dudorov

After the following commit:

shin2000/03/03 03:13:13 PST

  Modified files:
lib/libc/net rthdr.c 
sys/sys  socket.h 
sys/kern uipc_socket2.c 
sys/netinet6 ip6_output.c 
usr.bin/telnet   commands.c 
sbin/pingping.c 
  Log:
  CMSG_XXX macros alignment fixes to follow RFC2292.
  
  Approved by: jkh
  
  Submitted by: Partly from tech@openbsd
  Reviewed by: itojun
  
  Revision  ChangesPath
  1.2   +19 -7 src/lib/libc/net/rthdr.c
  1.38  +8 -13 src/sys/sys/socket.h
  1.55  +4 -5  src/sys/kern/uipc_socket2.c
  1.12  +3 -3  src/sys/netinet6/ip6_output.c
  1.21  +13 -15src/usr.bin/telnet/commands.c
  1.52  +2 -2  src/sbin/ping/ping.c

'sys/scocket.h' header file start using ALIGN macro 
defined in 'machine/param.h' header file while the man page
for "socket" only mentioned 'sys/types.h' as the prerequisite
for 'sys/socket.h'.

As a result the 'net/pchar' port is now broken.

What must be done to solve this ? 
Is it possible to '#include sys/param.h' in 'sys/socket.h' OR
the man page must be corrected to explicitly state 'param.h'
(sys/ or machine/ ?) as the prerequisite to 'sys/socket.h' and
all the programms using it patched accordingly ?

N.Dudorov


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



Abit's BP6 and 'lmmon' or 'chm'

1999-10-11 Thread Nickolay Dudorov

Does anybody successfully use ports/sysutils/{lmmon|chm}
with the Abit's BP6 motherboard ?

After 'make install'-ing ports and adding

controller smbus0
controller iicbus0
controller iicbb0
controller intpm0
device smb0 at smbus?

to kernel config file (and config, make depend, make, make install,
reboot the new kernel) I only receive:

IOCTL: device not configured

from lmmon and chm.

N.Dudorov


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



Fools Day Joke ?

1999-04-01 Thread Nickolay Dudorov
   There is some strangenes in date on file
ftp://ftp.freebsd.org/pub/FreeBSD/development/CTM/cvs-cur/cvs-cur.5198.gz

-r--r--r-  1 603  207  49741   apr  1  1998 cvs-cur.5198.gz

   N.Dudorov



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message