Re: Does linux-sun-jdk_1.4.2 work?

2003-07-21 Thread Charles Anderson
I still get 
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode)
#
# Error ID: 4F533F4C494E55583F491418160E43505002EF
#

Heap at VM Abort:
Heap
(and here it hangs, and I kill -9 from another window)

And I do have linprocfs mounted.

-Charlie
On Mon, Jul 21, 2003 at 05:37:36PM +0200, Florian Smeets wrote:
 Adam wrote:
 On Mon, 2003-07-21 at 08:55, Yamada Ken Takeshi wrote:
 
 tyd3# /usr/local/linux-sun-jdk1.4.2/bin/java -version
 #
 # HotSpot Virtual Machine Error, Internal Error
 # Please report this error at
 # http://java.sun.com/cgi-bin/bugreport.cgi
 #
 # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode)
 #
 # Error ID: 4F533F4C494E55580E43505001C9
 #
 
 Heap at VM Abort:
 Heap
 
 
 It happens to me too. Looks like this port was released too quickly.
 Java on FreeBSD is always a bit dodgy, it seems.
 
 Hi,
 
 try mounting linprocfs(5) that seemed to solved the problem for me.
 
 regards,
 flo
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-java
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Charles Andersoncaa at columbus dot rr dot com

No quote, no nothin'
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HEADS UP: sshd (Re: cvs commit: src/release/sysinstall config.c)

2000-09-06 Thread Charles Anderson

How is this affected by RSA releasing their patent to the public domain
today?  URL http://www.rsasecurity.com/news/pr/000906-1.html

-Charlie
On Mon, Sep 04, 2000 at 02:35:14PM -0700, Kris Kennaway wrote:
 On Mon, 4 Sep 2000, Jordan K. Hubbard wrote:
 
  jkh 2000/09/04 08:50:15 PDT
  
Modified files:
  release/sysinstall   config.c 
Log:
enable sshd by default.  This only effects *new* installs, so
upgraders will not receive any unpleasant surprises.
 
 This will be semi-broken for the next 17 days for US people because sshd
 won't work out of the box if you have "Protocol 1" defined, which is in
 the default config (and removing it may surprise people upgrading)
 
 All will be right again come Sep 21.
 
 Kris
-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



Re: [usb-bsd] Re: USB modems

2000-07-18 Thread Charles Anderson

Speaking of manpages, are there any out there for ugen(4), uhid(4)  ulpt(4)
that are referenced in the usb(4) man page?

-Charlie
On Tue, Jul 18, 2000 at 11:43:09AM +0100, Nick Hibma wrote:
  Well, the one you committed doesn't have the notification support I
  added, or the serial state bits that are in usbcdc.h. Do you need/want
  copies of the one I've been working on?
 
 Yes, please. I must have them somewhere, but it might be a better idea
 to get your latest version.
 
  Looks like umodem.c didn't make it into conf/files, either.
 
 Fixed (NOTES as well).
 
 Man pages, we will need those as well. Anyone?
 
 Nick
-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



Re: **HEADS UP** if you used to cvsup the crypto repo from internat !

2000-07-14 Thread Charles Anderson

How can I tell if I need to nuke my crypto files?  Sounds like I should
have this problem but it doen't look like I do.  I looked through the
commits for the past few days searching for crypto, and I have all of the
files that were commited.  (secure/lib/libcrypto/Makefile  Makefile.inc from
earlier today  crypto/openssh/ readconf.c, servconf.c, ssh_config, sshd.8,
 /telnet/libtelnet/auth.c from 7/11/00)

thanks,
-Charlie
On Wed, Jul 12, 2000 at 03:05:25PM +0100, Brian Somers wrote:
 I haven't looked into it too deeply yet because of other source tree 
 problems, but if you used to get your crypto ,v files from internat, 
 you will suffer some funny problems unless you nuke the old checked-out 
 files.
 
 My apologies if this is old news, but I see nothing in UPDATING.
 
 The problem occurs when you cvsup the new crypto-in-src-all sources 
 and replace RCS files with different contents and the same version 
 number.  cvs update/checkout compares the repo version number against 
 the checked out version number and considers the file an ``M'' 
 (modified source).  The file isn't updated and your world gets 
 corrupted.
 
 This is probably a candidate for UPDATING.
 -- 
 Brian [EMAIL PROTECTED]brian@[uk.]FreeBSD.org
   http://www.Awfulhak.org   brian@[uk.]OpenBSD.org
 Don't _EVER_ lose your sense of humour !
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message

-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



mfs errors with current from 07/12/00

2000-07-13 Thread Charles Anderson

I updated current around 6pm EDT yesterday (7/12/00) now I'm getting
mfs_badop[vop_getwritemount]
mfs_badop[vop_getwritemount] = 45

every now and again.  I've received 10 being up 11 hours.
uname -a says
FreeBSD midgard.dhs.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Jul 12 23:59:08 GMT 
2000 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MIDGARD  i386

mfs is mounted as tmp with the following from fstab
/dev/ad0s2b /tmpmfs rw,nosuid,async,-s262144 0 0

-Charlie
-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



_DIAGASSERT in libusb libutil

2000-07-06 Thread Charles Anderson


# grep -r DIAGASSERT . (from /usr/src)
./lib/libutil/fparseln.c:   _DIAGASSERT(sp != NULL);
./lib/libutil/fparseln.c:   _DIAGASSERT(p != NULL);
./lib/libutil/fparseln.c:   _DIAGASSERT(fp != NULL);
./lib/libusb/data.c:_DIAGASSERT(p != NULL);
./lib/libusb/data.c:_DIAGASSERT(h != NULL);
./lib/libusb/data.c:_DIAGASSERT(p != NULL);
./lib/libusb/data.c:_DIAGASSERT(h != NULL);
./lib/libusb/descr.c:   _DIAGASSERT(fd != -1);
./lib/libusb/parse.c:   _DIAGASSERT(c != NULL);
./lib/libusb/parse.c:   _DIAGASSERT(d != NULL);
./lib/libusb/parse.c:   _DIAGASSERT(s != NULL);
./lib/libusb/parse.c:   _DIAGASSERT(s != NULL);
./lib/libusb/parse.c:   _DIAGASSERT(h != NULL);
./lib/libusb/parse.c:   _DIAGASSERT(r != NULL);
./lib/libusb/parse.c:   _DIAGASSERT(desc != NULL);
./lib/libusb/parse.c:   _DIAGASSERT(h != NULL);
./make.out.070600.1528:/usr/obj/usr/src/i386/usr/lib/libusb.so: undefined reference to 
`_DIAGASSERT'

Where does _DIAGASSERT come from?  I updated right before I built which was
3:30 edt

-Charlie
-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



Re: -e option to umount?

2000-06-18 Thread Charles Anderson

/usr/ports/sysutils/eject

On Mon, Jun 19, 2000 at 02:09:44AM +0200, Marc van Woerkom wrote:
  SGIs and SUNs use an 'eject' command for CDs and DAT tapes.
 
 OpenBSD 2.6 uses 'mt' and 'eject'
 NetBSD 1.4 uses 'eject' as well.
 
 
http://www.FreeBSD.org/cgi/man.cgi?query=ejectapropos=0sektion=0manpath=OpenBSD+2.6format=html
 
http://www.FreeBSD.org/cgi/man.cgi?query=ejectapropos=0sektion=0manpath=NetBSD+1.4format=html
 
 Regards,
 Marc
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message

-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



Re: Please test for 8G-OVER-Booting with /boot/loader

2000-03-30 Thread Charles Anderson

Do you do this everytime or just to get things started?

If it's everytime, man that's a pain, if it's just to get things
started it's easier than what I did.  (but now I get a list of what I
want to boot from the NT bootloader, and I just hit the arrow down to
FreeBSD and go.)

-Charlie
On Wed, Mar 29, 2000 at 03:21:39PM -0500, Vladik wrote:
 Hello,
 I am not sure if this exactly on topic,
 but this is how I boot freeBSD partition that is installed
 beyond cyl 1024
 
 
 I use GRUB boot loader that understands LBA (www.gnu.org/grub)
 
 Once GRUB boots from a floppy, go to GRUB's command prompt and 
 do the following:
 
 root (hd0,3,a)   # or whatever your FreeBSD root slice is
 #after the command above, it mounted the partition
 
 kernel /kernel -remount
 boot
 
 When kernel boots to the point where it needs to mount a root
 partion it will ask you,
 in there you type
 ufs:/dev/ad0s4a
 
 
 
 Vladislav

-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



Re: Please test for 8G-OVER-Booting with /boot/loader

2000-03-28 Thread Charles Anderson

I have a Thinkpad 600X here that I installed freebsd on the third partition,
but couldn't boot because of the 1024 cylinder bit, so I booted a Fixit
floppy mounted my freebsd partitions, installed this patch, patched boot1
to always try packet mode and copied it over to the ntfs boot partition and
used it from the NT Loader, and it booted right up, both natively and under
VMware.

I had to do a lot of mucking around to get things to the point where I could
mount slice 3, the FreeBSD partition, and build the new boot code.


-Charlie
On Tue, Mar 28, 2000 at 02:21:36PM +0900, NAKAJI Hiroyuki wrote:
 How can I test this with FreeBSD which is installed over-8GB area and
 can't boot?
 
 I have a PC on which Solaris7 is installed within 8GB from the start
 of disk and FreeBSD 3.3-RELEASE is installed after(?) it.
 
 The installation was successfull. But I can't boot it.
 
 How can I install this patched /boot/loader in this dead system?
 -- 
 NAKAJI Hiroyuki
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message

-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



Re: RealPlayer 7

2000-03-17 Thread Charles Anderson

I had many problems trying to get some of the linux emulation progrmas to run
when I had a LD_LIBRARY_PATH set.  The problem was that the linux executable
was looking for libraries on the path list and finding a FreeBSD library and
puking because it had a bad magic number.  I just made sure my ldconfig was
set right bot under FreeBSD  Linux emulation and did not set any
LD_LIBRARY_PATH.

Drove me nuts for half a week.

-Charlie
On Thu, Mar 16, 2000 at 05:35:43PM -0500, Donn Miller wrote:
 Anyone get this beast to work on -current?  The audio works, but the video
 doesn't work at all.  I have COMPAT_LINUX in my kernel, and RealPlayer 5.0
 works pretty well.
 
 
 $ printenv LD_LIBRARY_PATH
 
/usr/local/qt/lib:/usr/local/lib/rvplayer5.0:/usr/local/RealPlayer7/Common:/usr/local/RealPlayer7/Codecs:/usr/local/RealPlayer7/Plugins:/usr/local/RealPlayer7
 
 
 - Donn
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message

-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



Re: make world break

2000-01-19 Thread Charles Anderson

I'm blowing up in the same place, only mine is more spectacular.

I get:
cc -O -pipe -DMONOLITH -DNO_IDEA -I/usr/src/secure/usr.bin/openssl -DRSAref   -I
/usr/obj/usr/src/i386/usr/include  -o openssl apps.o asn1pars.o ca.o ciphers.o c
rl.o crl2p7.o dgst.o dh.o dsa.o dsaparam.o enc.o errstr.o gendh.o gendsa.o genrs
a.o nseq.o openssl.o pkcs12.o pkcs7.o pkcs8.o req.o rsa.o s_cb.o s_client.o s_se
rver.o s_socket.o s_time.o sess_id.o speed.o verify.o version.o x509.o  -lssl -l
crypto -L/usr/local/lib -lrsaref
asn1pars.o: In function `asn1parse_main':
asn1pars.o(.text+0x91): undefined reference to `BIO_s_file'
asn1pars.o(.text+0x97): undefined reference to `BIO_new'
asn1pars.o(.text+0xb2): undefined reference to `BIO_ctrl'
asn1pars.o(.text+0xca): undefined reference to `sk_new'
asn1pars.o(.text+0xeb): undefined reference to `BIO_printf'
asn1pars.o(.text+0x108): undefined reference to `BIO_printf'
asn1pars.o(.text+0x29f): undefined reference to `sk_push'
asn1pars.o(.text+0x2d3): undefined reference to `BIO_printf'

plus another 2300+ lines of undefined references.

My question is why is this linking in /usr/local/lib/librsaref?  That
file is from 1998, and I'm sure a bit old for the new openssl stuff.

-Charlie

On Wed, Jan 19, 2000 at 05:44:11PM +0100, Stephan van Beerschoten wrote:
 cc -O -pipe -DMONOLITH -DNO_IDEA 
-I/mnt/archive/CVS/4.0-CURRENT/src/secure/usr.bin/openssl -DRSAref   
-I/usr/obj/mnt/archive/CVS/4.0-CURRENT/src/i386/usr/include  -o openssl apps.o 
asn1pars.o ca.o ciphers.o crl.o crl2p7.o dgst.o dh.o dsa.o dsaparam.o enc.o errstr.o 
gendh.o gendsa.o genrsa.o nseq.o openssl.o pkcs12.o pkcs7.o pkcs8.o req.o rsa.o 
s_cb.o s_client.o s_server.o s_socket.o s_time.o sess_id.o speed.o verify.o version.o 
x509.o  -lssl -lcrypto -L/usr/local/lib -lrsaref
 speed.o: In function `speed_main':
 speed.o(.text+0x60a): undefined reference to `RSA_PKCS1_RSAref'
 
 This is going on since openssl changed its place in the sourcetree.
 Am I forgetting something ? (updated -CURRENT as of an hour ago).
 
 -Steve
 
 -- 
 Stephan van Beerschoten Email: [EMAIL PROTECTED] 
 Network EngineerLuna Internet Services 
  PGP fingerprint 4557 9761 B212 FB4C  778D 3529 C42A 2D27
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message

-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



Re: make world break

2000-01-19 Thread Charles Anderson

And of course right after I post this I go back a page in my current mail
folder and spot the message from Kris saying to move the old openssl out
of /usr/local/lib.  So I'm rebuilding again, with high hopes that it will
be successful.  But my last question still remains, why is it looking at
anything outside of the /usr/src, /usr/obj world?

-Charlie
On Wed, Jan 19, 2000 at 12:43:37PM -0500, Charles Anderson wrote:
 I'm blowing up in the same place, only mine is more spectacular.
 
 I get:
 cc -O -pipe -DMONOLITH -DNO_IDEA -I/usr/src/secure/usr.bin/openssl -DRSAref   -I
 /usr/obj/usr/src/i386/usr/include  -o openssl apps.o asn1pars.o ca.o ciphers.o c
 rl.o crl2p7.o dgst.o dh.o dsa.o dsaparam.o enc.o errstr.o gendh.o gendsa.o genrs
 a.o nseq.o openssl.o pkcs12.o pkcs7.o pkcs8.o req.o rsa.o s_cb.o s_client.o s_se
 rver.o s_socket.o s_time.o sess_id.o speed.o verify.o version.o x509.o  -lssl -l
 crypto -L/usr/local/lib -lrsaref
 asn1pars.o: In function `asn1parse_main':
 asn1pars.o(.text+0x91): undefined reference to `BIO_s_file'
 asn1pars.o(.text+0x97): undefined reference to `BIO_new'
 asn1pars.o(.text+0xb2): undefined reference to `BIO_ctrl'
 asn1pars.o(.text+0xca): undefined reference to `sk_new'
 asn1pars.o(.text+0xeb): undefined reference to `BIO_printf'
 asn1pars.o(.text+0x108): undefined reference to `BIO_printf'
 asn1pars.o(.text+0x29f): undefined reference to `sk_push'
 asn1pars.o(.text+0x2d3): undefined reference to `BIO_printf'
 
 plus another 2300+ lines of undefined references.
 
 My question is why is this linking in /usr/local/lib/librsaref?  That
 file is from 1998, and I'm sure a bit old for the new openssl stuff.
 
 -Charlie
 
 On Wed, Jan 19, 2000 at 05:44:11PM +0100, Stephan van Beerschoten wrote:
  cc -O -pipe -DMONOLITH -DNO_IDEA 
-I/mnt/archive/CVS/4.0-CURRENT/src/secure/usr.bin/openssl -DRSAref   
-I/usr/obj/mnt/archive/CVS/4.0-CURRENT/src/i386/usr/include  -o openssl apps.o 
asn1pars.o ca.o ciphers.o crl.o crl2p7.o dgst.o dh.o dsa.o dsaparam.o enc.o errstr.o 
gendh.o gendsa.o genrsa.o nseq.o openssl.o pkcs12.o pkcs7.o pkcs8.o req.o rsa.o 
s_cb.o s_client.o s_server.o s_socket.o s_time.o sess_id.o speed.o verify.o version.o 
x509.o  -lssl -lcrypto -L/usr/local/lib -lrsaref
  speed.o: In function `speed_main':
  speed.o(.text+0x60a): undefined reference to `RSA_PKCS1_RSAref'
  
  This is going on since openssl changed its place in the sourcetree.
  Am I forgetting something ? (updated -CURRENT as of an hour ago).
  
  -Steve
  
  -- 
  Stephan van Beerschoten Email: [EMAIL PROTECTED] 
  Network EngineerLuna Internet Services 
   PGP fingerprint 4557 9761 B212 FB4C  778D 3529 C42A 2D27
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with "unsubscribe freebsd-current" in the body of the message
 
 -- 
 Charles Anderson  [EMAIL PROTECTED]
 
 No quote, no nothin'
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message

-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



Re: make world break

2000-01-19 Thread Charles Anderson

On Wed, Jan 19, 2000 at 12:52:21PM -0800, Kris Kennaway wrote:
 On Wed, 19 Jan 2000, Charles Anderson wrote:
 
  be successful.  But my last question still remains, why is it looking at
  anything outside of the /usr/src, /usr/obj world?
 
 It was supposed to just pick up the rsaref library so you can use RSA
 crypto in openssl, but was also picking up the stale libcrypto.so in
 /usr/local/lib due to the -L path.

Ahhh, I see to get around that can't include RSA code in the source tree
bit.  Makes perfect sense now, thank you.

-Charlie
-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



mmaping /dev/dsp problems

1999-12-28 Thread Charles Anderson

Hello,
I'm trying to get the quake 1 source to compile and work under freebsd with glx.

Most of the graphics parts work, and I can play, but I can't seem to get it to
mmap the dsp dma buffer like it wants to.

I have ripped out part of the code to demonstrate the problem.  All I had to
change to get it to compile this was to include machine/soundcard.h instead of
linux/soundcard.h, but that doesn't seem to be enough to get it to work.

I'm running -current with newpcm as of Dec 13, I know it's not the latest, but
not much has changed in the dsp code lately.  I'll build a new world tomorrow,
and try it out.

I have attached the files snd_linux.c  sound.h 
When I run snd_linux I get
opening /dev/dsp
audio_fd /dev/dsp=3
about to map 63488 bytes to /dev/dsp
shm-buffer=280eb000
Segmentation fault (core dumped)
bash-2.02$   

gdb has this to say about shm-buffer (what mmap returns)
$3 = (
unsigned char *) 0x280eb000 Error reading address 0x280eb000: Bad address

Thanks, for any help.
-Charlie
-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


/*
Copyright (C) 1996-1997 Id Software, Inc.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  

See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

*/
#include unistd.h
#include fcntl.h
#include stdlib.h
#include sys/types.h
#include sys/ioctl.h
#include sys/mman.h
#include sys/shm.h
#include sys/wait.h
#include machine/soundcard.h
#include stdio.h
#include "sound.h"

int audio_fd;
int snd_inited;

static int tryrates[] = { 11025, 22051, 44100, 8000 };

#define Con_Printf printf

dma_t *shm;

qboolean SNDDMA_Init(void)
{

dma_t sn;
int rc;
int fmt;
int tmp;
int i;
char *s;
struct audio_buf_info info;
int caps;

snd_inited = 0;

// open /dev/dsp, confirm capability to mmap, and get size of dma buffer

Con_Printf("opening /dev/dsp\n");
audio_fd = open("/dev/dsp", O_RDWR);
if (audio_fd  0)
{
perror("/dev/dsp");
Con_Printf("Could not open /dev/dsp\n");
return 0;
}
Con_Printf("audio_fd /dev/dsp=%d\n", audio_fd);

rc = ioctl(audio_fd, SNDCTL_DSP_RESET, 0);
if (rc  0)
{
perror("/dev/dsp");
Con_Printf("Could not reset /dev/dsp\n");
close(audio_fd);
return 0;
}

if (ioctl(audio_fd, SNDCTL_DSP_GETCAPS, caps)==-1)
{
perror("/dev/dsp");
Con_Printf("Sound driver too old\n");
close(audio_fd);
return 0;
}

if (!(caps  DSP_CAP_TRIGGER) || !(caps  DSP_CAP_MMAP))
{
Con_Printf("Sorry but your soundcard can't do this\n");
close(audio_fd);
return 0;
}

if (ioctl(audio_fd, SNDCTL_DSP_GETOSPACE, info)==-1)
{   
perror("GETOSPACE");
Con_Printf("Um, can't do GETOSPACE?\n");
close(audio_fd);
return 0;
}

shm = sn;
shm-splitbuffer = 0;

// set sample bits  speed

s = getenv("QUAKE_SOUND_SAMPLEBITS");
if (s) shm-samplebits = atoi(s);
/*  else if ((i = COM_CheckParm("-sndbits")) != 0)
shm-samplebits = atoi(com_argv[i+1]); */
if (shm-samplebits != 16  shm-samplebits != 8)
{
ioctl(audio_fd, SNDCTL_DSP_GETFMTS, fmt);
if (fmt  AFMT_S16_LE) shm-samplebits = 16;
else if (fmt  AFMT_U8) shm-samplebits = 8;
}

s = getenv("QUAKE_SOUND_SPEED");
if (s) shm-speed = atoi(s);
/*  else if ((i = COM_CheckParm("-sndspeed")) != 0)
shm-speed = atoi(com_argv[i+1]); */
else
{
for (i=0 ; isizeof(tryrates)/4 ; i++)
if (!ioctl(audio_fd, SNDCTL_DSP_SPEED, tryrates[i])) break;
shm-speed = tryrates[i];
}

s = getenv("QUAKE_SOUND_CHANNELS");
if (s) shm-channels = atoi(s);
/*  else if ((i = COM_CheckParm("-sndmono")) != 0)
shm-channels = 1;
else if ((i = COM_CheckParm("-sndstereo")) != 0)
shm-channels = 2; */
else shm-channels = 2;

shm-samples = info.fragstotal * info.fragsize / (shm

Re: linux-netscape-4.7 OK?

1999-12-22 Thread Charles Anderson

Try installing linux-base 6.1 from www.freebsd.org/~marcel

-Charlie
On Wed, Dec 22, 1999 at 01:59:39PM +0100, F. Heinrichmeyer wrote:
 
 today i had no luck with linux-netscape-4.7 from the ports. It dumps
 core with bus error.
 
 -- 
 Fritz Heinrichmeyer mailto:[EMAIL PROTECTED]
 FernUniversitaet Hagen, LG ES, 58084 Hagen (Germany)
 tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message

-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



Re: AWE64 problems

1999-12-08 Thread Charles Anderson

So then what is -1 and why does it work when -100 doesn't? (I tried it)

-Charlie

On Tue, Dec 07, 1999 at 09:13:41PM -0800, Mike Smith wrote:
  I looked for some meaning to the -100, is this documented somewhere?
 
 It's not, yet.  We should move to using some defines for this.
 A while back I proposed something like:
 
 #define DEVICE_MATCH_EXACT-100
 #define DEVICE_MATCH_CLASS-200
 #define DEVICE_MATCH_GENERIC  -300
 
 The 'exact' response is still  0 so that you can tune between two 
 'exact' drivers on a per-instance basis.  The meanings should be pretty 
 obvious...
 
  Who calls it?
  
  -Charlie
  
  On Wed, Dec 08, 1999 at 11:30:46AM +0900, Seigo Tanimura wrote:
   On Tue, 7 Dec 1999 23:00:02 +0100 (MET),
 Thomas Schuerger [EMAIL PROTECTED] said:
   
--- sbc.c.orig Mon Dec  6 19:26:31 1999
+++ sbc.c  Tue Dec  7 22:15:25 1999
@@ -110,7 +110,7 @@
if (error)
return error;
else
-  return -100;
+  return -1;
}

static int
   
   Thomas Works fine for me. Thanks!!!
   
   
   Yes, this patch should work. The probe likelyhood(do we call it so?) for
   unknown device is -100, so it does not make sense for sbc to return
   -100.
   
   -1 might be too high, -50 sounds good to me.

-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



Re: AWE64 problems

1999-12-07 Thread Charles Anderson

I hate me too messages, but I'm having problems too.  Exact same symptoms.
I looked at sbc.c and it has the correct logical id, I spent some time 
looking at this last night, but was stymied by my lack of understanding
of how the pnp system works.  I even tried it with PNPBIOS defined, but
that didn't help any either.

I have attached dmesg output and pnpinfo output.

-Charlie
-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #0: Tue Dec  7 12:19:46 EST 1999
[EMAIL PROTECTED]:/usr/src/sys/compile/MIDGARD
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 451024486 Hz
CPU: Pentium II/Celeron (451.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x660  Stepping = 0
  
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 134217728 (131072K bytes)
avail memory = 126877696 (123904K bytes)
Preloaded elf kernel "kernel" at 0xc030c000.
Preloaded elf module "splash_bmp.ko" at 0xc030c09c.
Preloaded elf module "vesa.ko" at 0xc030c140.
Preloaded splash_image_data "/root/daemon_640.bmp" at 0xc030c1dc.
VESA: v1.2, 4096k memory, flags:0x0, mode table:0xc00c5e02 (c0005e02)
VESA: Alliance Semiconductor PMAT3D
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
chip1: Intel PIIX4 IDE controller at device 7.1 on pci0
pci0: UHCI USB controller (vendor=0x8086, dev=0x7112) at 7.2 irq 15
intpm0: Intel 82371AB Power management controller at device 7.3 on pci0
intpm0: I/O mapped 5000
intpm0: intr IRQ 9 enabled revision 0
smbus0: System Management Bus on intsmb0
smb0: SMBus general purpose I/O on smbus0
intpm0: PM I/O mapped 4000 
fxp0: Intel EtherExpress Pro 10/100B Ethernet irq 14 at device 11.0 on pci0
fxp0: Ethernet address 00:a0:c9:78:ae:3a
vga-pci0: Alliance model 643d VGA-compatible display device at device 13.0 on pci0
ncr0: ncr 53c875 fast20 wide scsi irq 11 at device 15.0 on pci0
ncr1: ncr 53c825 fast10 wide scsi irq 15 at device 17.0 on pci0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5" drive on fdc0 drive 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
atkbdc0: keyboard controller (i8042) at port 0x60-0x6f on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: Generic ISA VGA at port 0x3b0-0x3df iomem 0xa-0xb on isa0
sc0: System console on isa0
sc0: VGA 16 virtual consoles, flags=0x200
joy0 at port 0x201 on isa0
ppc0 at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: PLIP network interface on ppbus 0
lpt0: generic printer on ppbus 0
lpt0: Interrupt-driven port
ppi0: generic parallel i/o on ppbus 0
unknown0: Creative SB16 PnP/SB32 at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 
drq 1,5 on isa0
unknown1: IDE at port 0x168-0x16f,0x36e-0x36f irq 10 on isa0
unknown2: WaveTable at port 0x620-0x623 on isa0
unknown: Game can't assign resources
(sa0:ncr0:0:4:0): found quirk entry 2
sa0 at ncr0 bus 0 target 4 lun 0
sa0: ARCHIVE VIPER 2525 25462 -007 Removable Sequential Access SCSI-CCS device 
sa0: 3.300MB/s transfers
Mounting root from ufs:/dev/da0s1a
cd0 at ncr0 bus 0 target 5 lun 0
cd0: PIONEER CD-ROM DR-U06S 1.05 Removable CD-ROM SCSI-2 device 
cd0: 19.230MB/s transfers (19.230MHz, offset 16)
cd0: cd present [306474 x 2048 byte records]
da3 at ncr0 bus 0 target 15 lun 0
da3: IBM DDRS-34560D DC1B Fixed Direct Access SCSI-2 device 
da3: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da3: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)
da2 at ncr0 bus 0 target 10 lun 0
da2: IBM OEM DFHSS2W 4B4B Fixed Direct Access SCSI-2 device 
da2: 20.000MB/s transfers (10.000MHz, offset 15, 16bit)
da2: 2150MB (4404489 512 byte sectors: 255H 63S/T 274C)
da1 at ncr0 bus 0 target 9 lun 0
da1: IBM OEM DFHSS2W 4B4B Fixed Direct Access SCSI-2 device 
da1: 20.000MB/s transfers (10.000MHz, offset 15, 16bit)
da1: 2150MB (4404489 512 byte sectors: 255H 63S/T 274C)
da0 at ncr0 bus 0 target 8 lun 0
da0: IBM OEM DFHSS2W 4B4B Fixed Direct Access SCSI-2 device 
da0: 20.000MB/s transfers (10.000MHz, offset 15, 16bit)
da0: 2150MB (4404489 512 byte sectors: 255H 63S/T 274C)
(cd1:ncr0:0:6:0): got CAM status 0x4c
(cd1:ncr0:0:6:0): fatal error, failed to attach to device
(cd1:ncr0:0:6:0): lo

Re: AWE64 problems

1999-12-07 Thread Charles Anderson

I looked for some meaning to the -100, is this documented somewhere?

Who calls it?

-Charlie

On Wed, Dec 08, 1999 at 11:30:46AM +0900, Seigo Tanimura wrote:
 On Tue, 7 Dec 1999 23:00:02 +0100 (MET),
   Thomas Schuerger [EMAIL PROTECTED] said:
 
  --- sbc.c.orig Mon Dec  6 19:26:31 1999
  +++ sbc.c  Tue Dec  7 22:15:25 1999
  @@ -110,7 +110,7 @@
  if (error)
  return error;
  else
  -  return -100;
  +  return -1;
  }
  
  static int
 
 Thomas Works fine for me. Thanks!!!
 
 
 Yes, this patch should work. The probe likelyhood(do we call it so?) for
 unknown device is -100, so it does not make sense for sbc to return
 -100.
 
 -1 might be too high, -50 sounds good to me.
 
 -- 
 Seigo Tanimura [EMAIL PROTECTED] [EMAIL PROTECTED]
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message

-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



Re: ssh2 port

1999-12-03 Thread Charles Anderson

I had the same type of problem compiling rpm (so I could install the latest
linux_base to try vmware)  My problem turned out to be I had autoconf 2.12
installed and I needed 2.13  the @SHELL@ is supposed to be substituted by
configure, but wasn't because of the autoconf bit.

Check your autoconf.

-Charlie
On Fri, Dec 03, 1999 at 03:19:07AM -0700, Davec wrote:
 Tried to build ssh2 (after installing ssh1) from the ports, and I got the
 following error:
 
 SHELL@:No such file or directory
 
 I added USE_GMAKE=yes to the security/ssh2/Makefile, and tried it again
 and it completed successfully. Has anyone else came across this?
 [EMAIL PROTECTED]

-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


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



Re: cdevsw changes broke world in vinum

1999-06-01 Thread Charles Anderson
On Tue, Jun 01, 1999 at 12:17:03PM +0200, Sheldon Hearn wrote:
 
 The offending line is:
 
   cdevsw[CDEV_MAJOR] = NULL;  /* no cdevsw any more */
 
 Should that be vinum_cdevsw? Or did I get unlucky and pull sources
 between commits?
 
 Ciao,
 Sheldon.

I got the same error, I supped around 10, did a buildworld, look at the
results later in the afternoon, saw the error, did a make dirclean, re-
supped, and rebuilt, same error.  So I say unless the commits were REAL
far apart, it wasn't between commits.

-Charlie
-- 
Charles Andersonc...@midgard.dhs.org

No quote, no nothin'


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



Re: Your system is too old to use this bsd.port.mk.....

1999-03-30 Thread Charles Anderson
On Wed, Mar 31, 1999 at 01:48:12AM +0400, oZZ!!! wrote:
 
 Hello!
 I cvsup my system at 30.03.1999 23.55 MSK, then make world, but
 can't understand following problem: when i try to build application from
 port i c following:
 ===  windowmaker-0.51.2 : Your system is too old to use this bsd.port.mk.
 You need a fresh make world or an upgrade kit. Please go to
 http://www.freebsd.org/ports/ or a mirror site and follow the
 instructions.
 I think my system is too YOUNG, not TOO OLD:
 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Tue Mar 30 02:52:13 MSD 1999 
 
 What does it mean?
 
 Rgdz,
 Sergey A. Osokin aka oZZ,
 o...@etrust.ru

I don't know what changed it but
date +%Y%m%d  /var/db/pkg/.mkversion
fixed it.

-Charlie
-- 
Charles Andersonc...@wavefront.com

No quote, no nothin'


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