Re: Panic within sound driver

2001-04-10 Thread George Reid

On Tue, 10 Apr 2001, Ollivier Robert wrote:

 Stopped at _mtx_lock_sleep+0x2e2: movb  0x1d5(%edx),%al
 _mtx_lock_sleep
 snd_mtxlock
 ad1816_lock

Following patch should fix, I'll commit this to -current later.

 - greid

Index: ad1816.c
===
RCS file: /usr/home/ncvs/src/sys/dev/sound/isa/ad1816.c,v
retrieving revision 1.17
diff -u -r1.17 ad1816.c
--- ad1816.c2001/03/24 23:10:25 1.17
+++ ad1816.c2001/04/10 13:47:55
@@ -88,13 +88,13 @@
 static void
 ad1816_lock(struct ad1816_info *ad1816)
 {
-   snd_mtxlock(ad1816);
+   snd_mtxlock(ad1816-lock);
 }
 
 static void
 ad1816_unlock(struct ad1816_info *ad1816)
 {
-   snd_mtxunlock(ad1816);
+   snd_mtxunlock(ad1816-lock);
 }
 
 static int


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



Re: ssh: no RSA support in libssl and libcrypto. See ssl(8).

2001-03-30 Thread George Reid

On Sat, 31 Mar 2001, Thomas Moestl wrote:

 Do you have
 device random
 in your kernel configuration? Absence of a working random device
 triggers this bug. The need for this is also documented in UPDATING.

Also, /dev/urandom is now a symlink to /dev/random. A quick "cd /dev; rm
urandom; ln -s random urandom" fixed this problem for me.

G


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



Re: random woes (no RSA support in libssl and libcrypto)

2001-03-27 Thread George Reid

On Tue, 27 Mar 2001, Valentin Nechayev wrote:

 And, my questions are
 1) What can happen to refuse RSA support in libcrypto, with environment
 described above?

I suspect you need to remake /dev/urandom. Copy /usr/src/etc/MAKEDEV from
-current into /etc and remake the device. /dev/urandom is now a symlink to
/dev/random.

G


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



Re: Kernel hangs with latest sources

2001-03-25 Thread George Reid

On Sun, 25 Mar 2001, Blaz Zupan wrote:

 My kernel compiled from -current sources as of today morning hangs after
 recognizing the sound hardware, the last line display is:
 
 pcm0: Yamaha OPL-SAx at port
 0x240-0x24f,0xe80-0xe87,0x388-0x38f,0x300-0x301,0x100-0x101 irq 7 drq
 0,1 on isa0

Included patch should fix this problem.

greid

Index: mss.c
===
RCS file: /usr/home/ncvs/src/sys/dev/sound/isa/mss.c,v
retrieving revision 1.65
diff -u -r1.65 mss.c
--- mss.c   2001/03/24 23:10:25 1.65
+++ mss.c   2001/03/25 17:55:10
@@ -174,13 +174,13 @@
 static void
 mss_lock(struct mss_info *mss)
 {
-   snd_mtxlock(mss);
+   snd_mtxlock(mss-lock);
 }
 
 static void
 mss_unlock(struct mss_info *mss)
 {
-   snd_mtxunlock(mss);
+   snd_mtxunlock(mss-lock);
 }
 
 static int


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