newpcm can't play wave files after cvsup+make world...

2000-01-08 Thread Sergey Osokin


Hello!
I think after some -stable period -current stay now like current :-)
I can't play wave files after upgrade my -current...


% ls -al /dev/MAKEDEV
-r-xr-xr-x  1 root  wheel  35926  8 ÑÎ× 23:11 /dev/MAKEDEV


% uname -a
FreeBSD ozz.freebsd.org.ru 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Sun Jan  9 02:10:04 MSK 
2000 [EMAIL PROTECTED]:/usr/src/sys/compile/SONIC  i386
% cat /dev/sndstat
FreeBSD Audio Driver (newpcm) Jan  9 2000 02:09:08
Installed devices:
pcm0:  at io 0xe800 irq 10 (1/1 channels duplex)
% dmesg | grep pcm
pcm0:  port 0xe800-0xe83f irq 10 at device 11.0 on pci0

At kernel description of my card looks like this:
device  pcm0# Sound Blaster 128 PCI
device  sbc0#
device  joy0 at isa? port IO_GAME #


Rgdz,
Sergey A. Osokin aka oZZ,
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.freebsd.org.ru/~osa/


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



make world failed at usr.bin/kdump

2000-01-25 Thread Sergey Osokin


===> usr.bin/kdump
cc -O2 -pipe -march=pentium -I/usr/src/usr.bin/kdump/../ktrace 
-I/usr/src/usr.bin/kdump/../..   -I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/usr.bin/kdump/kdump.c
cc -O2 -pipe -march=pentium -I/usr/src/usr.bin/kdump/../ktrace 
-I/usr/src/usr.bin/kdump/../..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
In file included from ioctl.c:81:
/usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE' redefined
/usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:80: warning: this is the location 
of the previous definition
In file included from ioctl.c:95:
/usr/obj/usr/src/i386/usr/include/sys/cdrio.h:59: warning: `CDRIOCBLANK' redefined
/usr/obj/usr/src/i386/usr/include/sys/wormio.h:102: warning: this is the location of 
the previous definition
In file included from ioctl.c:30:
/usr/obj/usr/src/i386/usr/include/dev/dpt/dpt.h:883: syntax error before `bus_dmamap_t'
/usr/obj/usr/src/i386/usr/include/dev/dpt/dpt.h:1016: syntax error before 
`bus_dmamap_t'
/usr/obj/usr/src/i386/usr/include/dev/dpt/dpt.h:1024: syntax error before 
`bus_space_tag_t'
/usr/obj/usr/src/i386/usr/include/dev/dpt/dpt.h:1028: syntax error before `bus_addr_t'
/usr/obj/usr/src/i386/usr/include/dev/dpt/dpt.h:1045: syntax error before 
`bus_dma_tag_t'
/usr/obj/usr/src/i386/usr/include/dev/dpt/dpt.h:1136: syntax error before `bus_addr_t'
/usr/obj/usr/src/i386/usr/include/dev/dpt/dpt.h:1273: syntax error before 
`bus_space_tag_t'
In file included from ioctl.c:33:
/usr/obj/usr/src/i386/usr/include/dev/vinum/vinumio.h:104: `MAXNAME' undeclared here 
(not in a function)
ioctl.c: In function `ioctlname':
ioctl.c:140: sizeof applied to an incomplete type
ioctl.c:236: sizeof applied to an incomplete type
ioctl.c:306: sizeof applied to an incomplete type
ioctl.c:374: sizeof applied to an incomplete type
ioctl.c:694: sizeof applied to an incomplete type
ioctl.c:1074: sizeof applied to an incomplete type
ioctl.c:1422: sizeof applied to an incomplete type
ioctl.c:1470: sizeof applied to an incomplete type
ioctl.c:1838: `dpt_perf_t' undeclared (first use in this function)
ioctl.c:1838: (Each undeclared identifier is reported only once
ioctl.c:1838: for each function it appears in.)
ioctl.c:1874: sizeof applied to an incomplete type
*** Error code 1

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

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

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

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

Stop in /usr/src.

Rgdz,
Sergey A. Osokin,
[EMAIL PROTECTED]
http://www.FreeBSD.org.ru/~osa/


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



Re: help! need kernel!

2000-01-26 Thread Sergey Osokin

On Wed, Jan 26, 2000 at 07:26:30PM +0200, Alexandr Listopad wrote:
> hello!
> 
> I have Abit motherboard with ATA-66 support.
> I try to install FreeBSD-CURRENT, all good when install, but after reboot
> kernel boots, but ask me a root device, when I press '?', there are no
> 'ad' device (this is my HDD). ;( As I understand - there are no support in
> that kernel for my HDD... ;(
> 
> As I understand there are one way to help me - create new kernel with
> ata-pci0 support.
> 
> If somebody can help me - please help!
> 
> Thanks!
> 
> P.S. I have latest cvs tree (but on the 3.4 box) and have latest kern.flp
> and mfsroot.flp.
> 
> 
Its a simply. Install 3.4 with full sources, then use CVSup with "." tag and upgrade 
your
sources tree. Then compile & install new kernel & do make world.

Rgdz,
Sergey A. Osokin,
[EMAIL PROTECTED]
http://www.FreeBSD.ORG.ru/~osa/



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



-current build failed...

1999-12-03 Thread Sergey Osokin


Hello!
After cvsuped my source, i try rebuild my -current system...

===> usr.bin/truss
cp /usr/src/usr.bin/truss/../../sys/kern/syscalls.master syscalls.master
/bin/sh /usr/src/usr.bin/truss/../../sys/kern/makesyscalls.sh syscalls.master  
/usr/src/usr.bin/truss/i386.co
nf
cp /usr/src/usr.bin/truss/../../sys/i386/linux/syscalls.master i386l-syscalls.master
/bin/sh /usr/src/usr.bin/truss/../../sys/kern/makesyscalls.sh i386l-syscalls.master  
/usr/src/usr.bin/truss/i
386linux.conf
cc -nostdinc -O -pipe -I/usr/src/usr.bin/truss -I.   
-I/usr/obj/usr/src/tmp/usr/include -c /usr/src/usr.bin/t
russ/main.c
cc -nostdinc -O -pipe -I/usr/src/usr.bin/truss -I.   
-I/usr/obj/usr/src/tmp/usr/include -c /usr/src/usr.bin/t
russ/setup.c
cc -nostdinc -O -pipe -I/usr/src/usr.bin/truss -I.   
-I/usr/obj/usr/src/tmp/usr/include -c /usr/src/usr.bin/t
russ/syscalls.c
/bin/sh /usr/src/usr.bin/truss/../../usr.bin/kdump/mkioctls > ioctl.c
*** Error code 1

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

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

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

Rgdz,
Osokin Sergey,
[EMAIL PROTECTED]
[EMAIL PROTECTED]



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



boot failed with "options ata0" & etc. at kernel...

1999-12-13 Thread Sergey Osokin


Hello!
I rebuild all ad* devices at /dev with new MAKEDEV from /usr/src/etc at
my -current, but still have following problem...
...
ata-pci0:  at device 7.1 on pci0
ata-pci0: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci0
ata1 at 0x0170 irq 15 on ata-pci0
...
ad0:  ATA-3 disk at ata0 as master
ad0: 2503MB (5126688 sectors), 5086 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, DMA
acd0:  CDROM drive at ata1 as master
acd0: read 171KB/s (8250KB/s), 128KB buffer, UDMA33
acd0: supported read types: CD-R, CD-RW, CD-DA stream, packet
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
afd0:  rewriteable drive at ata1 as slave 
afd0: 120MB (246528 sectors), 963 cyls, 8 heads, 32 S/T, 512 B/S
afd0: 533KB/s, PIO
afd0: Medium: Unknown media (0x0)
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: R/W mount of / denied.  Filesystem is not clean - run fsck
# mount
/dev/ad0s1a on / (ufs, local, read-only, writes: sync 2 async 0, reads: sync 149 async 
1)
/dev/ad0s1f on /usr (ufs, local, nodev, soft-updates, writes: sync 2 async 0, reads: 
sync 76 async 0)
/dev/ad0s1e on /var (ufs, local, nodev, noexec, nosuid, soft-updates, writes: sync 2 
async 0, reads: sync 1 async 0)
procfs on /proc (procfs, local)
# fsck /
** /dev/ad0s1a
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
1271 files, 24082 used, 39421 free (152 frags, 4909 blocks, 0.2% fragmentation)

then i simply type Ctrl-D & system gone up correct...

Whats may wrong?

Rgdz,
Sergey A. Osokin,
[EMAIL PROTECTED]
[EMAIL PROTECTED]



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



make buildworld failed...

2000-04-08 Thread Sergey Osokin

Hello!
After CVSup at my FreeBSD 5.0-CURRENT #0: Sun Apr  2 17:54:04 MSD 2000 i try to run
make buildworld:


/usr/src/sys/boot/i386/loader/main.c:80: warning: return type of `main' is not `int'
/usr/src/sys/boot/i386/loader/main.c: In function `extract_currdev':
/usr/src/sys/boot/i386/loader/main.c:163: warning: `biosdev' might be used 
uninitialized in this function
In file included from /usr/src/sys/boot/i386/loader/../libi386/pxe.c:52:
/usr/src/sys/boot/i386/loader/../libi386/pxe.h:459: conflicting types for 
`t_PXENV_UDP_WRITE'
/usr/src/sys/boot/i386/loader/../libi386/pxe.h:448: previous declaration of 
`t_PXENV_UDP_WRITE'
*** Error code 1
cc -O2 -pipe -march=pentium -DLOADER_NFS_SUPPORT -DBOOT_FORTH 
-I/usr/src/sys/boot/i386/loader/../../ficl 
-I/usr/src/sys/boot/i386/loader/../../ficl/i386 
-I/usr/src/sys/boot/i386/loader/../../common -I/usr/src/sys/boot/i386/loader/../../.. 
-I. -Wall -I/usr/src/sys/boot/i386/loader/.. 
-I/usr/src/sys/boot/i386/loader/../../../../lib/libstand/ 
-I/usr/src/sys/boot/i386/loader/../btx/lib -elf -DNEW_LINKER_SET   
-I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/sys/boot/i386/loader/../../common/interp.c
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error


Rgdz,
Sergey A. Osokin,
[EMAIL PROTECTED]


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



make buildworld failed...

2000-04-21 Thread Sergey Osokin

Hello!
After CVSup i tryed to rebuild my 5.0...

===> librsausa
mkdir: openssl: File exists
cp /usr/src/secure/lib/librsausa/../libcrypto/opensslconf-i386.h openssl/opensslconf.h
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

Any idea?

Rgdz,
Sergey Osokin aka oZZ,
[EMAIL PROTECTED]


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



make buildworld failed...

2000-05-05 Thread Sergey Osokin

Hello!
After cvsuped my 5.0-CURRENT (FreeBSD 5.0-CURRENT #0: Mon May  1 02:25:08 MSD 2000)
i try to buildworld...

# make -DNOCLEAN -j6 buildworld

===> librsausa
mkdir: openssl: File exists
cp /usr/src/secure/lib/librsausa/../libcrypto/opensslconf-i386.h openssl/opensslconf.h
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

Any idea?

Rgdz,
Sergey Osokin aka oZZ,
[EMAIL PROTECTED]
http://www.FreeBSD.org.ru/~osa/


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



make buildworld failed...

2000-06-19 Thread Sergey Osokin

Hello!
After CVSuped my source, i try to buildworld and it failed...

===> libssh
rm -f .depend
mkdep -f .depend -a-DSKEY -I/usr/obj/usr/src/i386/usr/include  
/usr/src/secure/lib/libssh/../../../crypto/openssh/authfd.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/authfile.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/aux.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/bufaux.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/buffer.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/canohost.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/channels.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/cipher.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/compat.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/compress.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/crc32.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/deattack.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/fingerprint.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/hostfile.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/log.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/match.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/mpaux.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/nchan.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/packet.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/readpass.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/rsa.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/tildexpand.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/ttymodes.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/uidswap.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/xmalloc.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/atomicio.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/key.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/dispatch.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/dsa.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/kex.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/hmac.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/uuencode.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/auth-skey.c
In file included from /usr/obj/usr/src/i386/usr/include/openssl/pem.h:66,
 from /usr/src/secure/lib/libssh/../../../crypto/openssh/authfile.c:24:
/usr/obj/usr/src/i386/usr/include/openssl/evp.h:99: openssl/idea.h: No such file or 
directory
In file included from /usr/obj/usr/src/i386/usr/include/openssl/hmac.h:69,
 from /usr/src/secure/lib/libssh/../../../crypto/openssh/packet.c:40:
/usr/obj/usr/src/i386/usr/include/openssl/evp.h:99: openssl/idea.h: No such file or 
directory
In file included from /usr/src/secure/lib/libssh/../../../crypto/openssh/key.c:40:
/usr/obj/usr/src/i386/usr/include/openssl/evp.h:99: openssl/idea.h: No such file or 
directory
In file included from /usr/src/secure/lib/libssh/../../../crypto/openssh/dsa.c:43:
/usr/obj/usr/src/i386/usr/include/openssl/evp.h:99: openssl/idea.h: No such file or 
directory
In file included from /usr/obj/usr/src/i386/usr/include/openssl/pem.h:66,
 from /usr/src/secure/lib/libssh/../../../crypto/openssh/kex.c:49:
/usr/obj/usr/src/i386/usr/include/openssl/evp.h:99: openssl/idea.h: No such file or 
directory
In file included from /usr/obj/usr/src/i386/usr/include/openssl/hmac.h:69,
 from /usr/src/secure/lib/libssh/../../../crypto/openssh/hmac.c:37:
/usr/obj/usr/src/i386/usr/include/openssl/evp.h:99: openssl/idea.h: No such file or 
directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/secure/lib/libssh.
*** Error code 1

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

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

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

Any idea?

Rgdz,
Sergey A. Osokin aka oZZ,
[EMAIL PROTECTED]
http://www.FreeBSD.ORG.ru/~osa/


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



make buildworld failed...

2000-07-02 Thread Sergey Osokin

Hello!
After CVSuped my sources i try make buildworld & it failed:

cc -O2 -pipe -march=pentium -DUNIX -fwritable-strings   
-I/usr/obj/usr/src/i386/usr/include -c /usr/src/games/rogue/thw.c
cc -O2 -pipe -march=pentium -DUNIX -fwritable-strings   
-I/usr/obj/usr/src/i386/usr/include -c /usr/src/games/rogue/tr.c
cc -O2 -pipe -march=pentium -DUNIX -fwritable-strings   
-I/usr/obj/usr/src/i386/usr/include -c /usr/src/games/rogue/usc
cc -O2 -pipe -march=pentium -DUNIX -fwritable-strings   
-I/usr/obj/usr/src/i386/usr/include -c /usr/src/games/rogue/zac
cc -O2 -pipe -march=pentium -DUNIX -fwritable-strings   
-I/usr/obj/usr/src/i386/usr/include  -o rogue curses.o hit.o it.o inventory.o level.o 
machdep.o main.o message.o monster.o move.o object.o pack.o play.o random.o ring.o 
room.o save score.o spec_hit.o throw.o trap.o use.o zap.o  -lcurses -ltermcap -lcompat
monster.o: In function `mv_1_monster':
monster.o(.text+0x657): undefined reference to `flame_broil'
*** Error code 1

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

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


Any idea?

Rgdz,
Sergey Osokin aka oZZ,
[EMAIL PROTECTED]
http://www.FreeBSD.org.ru/~osa/


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



stranges in threads implementation... possible bug?

2000-11-24 Thread Sergey Osokin
--*/
int main(int argc, char **argv)
{
SS ss;
sp_call(&ss);
sleep(2);
Debug(("Exitting...\n"));
sleep(3);
return 0;
}
=

and here is is a makefile (use gmake for build):

=
Goal: bad good

bad: tt.cpp
$(CXX) -DBAD tt.cpp -pthread  -g -o bad

good: tt.cpp
$(CXX) tt.cpp -pthread  -g -o good
=

After build code, try run ./good and ./bad:

=
$ ./good
run thread...
thread ended
Exitting...
$ ./bad
run thread...
zsh: segmentation fault (core dumped)  ./bad
$
=
Thats stranges work in FreeBSD 4.2-STABLE #0: Wed Nov 22 19:25:46 MSK 2000
and FreeBSD 5.0-CURRENT #0: Wed Nov 22 01:23:44 MSK 2000

Any idea?
Make send-pr?

Sergey Osokin,
[EMAIL PROTECTED]


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