Re: Ports broken by OpenPAM

2002-03-26 Thread Joe Clarke



On 25 Mar 2002, Dag-Erling Smorgrav wrote:

 Joe Clarke [EMAIL PROTECTED] writes:
  Really?  I never received it.  Please send it again.  Thanks.

 Here's an updated (but untested) version.

The patch applies cleanly, and pam_ldap builds.  Howvever, every service I
try to authenticate with it fails with a core dump of some kind.  I'm
currently analyzing ftpd which dies on a SIGILL.  As soon as I have a
backtrace, I'll send it out.

Joe


 DES
 --
 Dag-Erling Smorgrav - [EMAIL PROTECTED]




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



Re: Ports broken by OpenPAM

2002-03-25 Thread Joe Clarke



On 25 Mar 2002, Dag-Erling Smorgrav wrote:

 Kris Kennaway [EMAIL PROTECTED] writes:
  bftpd-1.0.22.log
  pam-pgsql-0.5.2_2.log

 Not tested.

  pam_ldap-1.4.0.log

 Not my problem; I sent the maintainer a patch ages ago.

Really?  I never received it.  Please send it again.  Thanks.

Joe

[snip]


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



Re: port: glibtop failure on -current / Gnome won't build

2002-03-12 Thread Joe Clarke

On Tue, 2002-03-12 at 20:06, Stephen L. Palmer wrote:
 On:
 FreeBSD adam12.midearth.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sat
 Mar  9 13:55:57 CST 2002 [EMAIL PROTECTED]:/usr2/obj/usr/src/sys/MIDEARTH  
i386
 
 make of libgtop fails with the following error, causing a make of
 /usr/ports/x11/gnome to fail...  any suggestions?

This patch should fix it.  Just replace the original
files/patch-sysdeps::freebsd::proctime::c with the attached version, and
rebuild.  I'm building a PR now.

Joe

 
 [snip]
 cc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE
 -DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/freebsd -I../../include
 -I../../intl -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include
 -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include
 -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0
 -I/usr/X11R6/include/gtk12 -I/usr/local/include
 -I/usr/local/include/glib12 -O -pipe -Wall -Wunused -I/usr/local/include
 -I/usr/X11R6/include -DGLIBTOP_GUILE -DGLIBTOP_GUILE_NAMES
 -I/usr/local/include -DGTOPLOCALEDIR=\/usr/local/share/gnome/locale\
 -DLIBGTOP_VERSION=\1.0.13\ -DLIBGTOP_SERVER_VERSION=\5\
 -DLIBGTOP_VERSION_CODE=113
 -DLIBGTOP_SERVER=\/usr/local/bin/libgtop_server\ -I/usr/local/include -O
 -pipe -Wall -Wunused -I/usr/local/include -c proctime.c  -fPIC -DPIC -o proctime.o
 proctime.c: In function `calcru':
 proctime.c:88: aggregate value used where an integer was expected
 proctime.c:69: warning: unused variable `tv'
 proctime.c: In function `glibtop_get_proc_time_p':
 proctime.c:130: warning: unused variable `pstats'
 proctime.c:128: warning: unused variable `u_addr'
 proctime.c: At top level:
 proctime.c:62: warning: `calcru' defined but not used
 gmake[3]: *** [proctime.lo] Error 1
 gmake[3]: Leaving directory
 `/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps/freebsd'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory
 `/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory
 `/usr2/ports/devel/libgtop/work/libgtop-1.0.13'
 gmake: *** [all-recursive-am] Error 2
 *** Error code 2
 
 Stop in /usr2/ports/devel/libgtop.
 *** Error code 1
 
 Stop in /usr2/ports/devel/libgtop.
 *** Error code 1
 
 Stop in /usr2/ports/devel/libgtop.
 *** Error code 1
 
 Stop in /usr2/ports/devel/libgtop.
 root on adam12:/usr/ports/devel/libgtop %
 
 
 ---
 Stephen L. Palmer
 [EMAIL PROTECTED]
 
 Receipt of this  email does not  entitle you to collect,
 use, or sell my personal information for any commercial,
 or  non-commercial purposes.   Non-solicited  commercial
 emails  sent  to my address will be  billed $500.00  per
 offense  for use of  storage space on my  mail  servers,
 bandwidth  fees, and personal  administrative  overhead.
 You have been warned.
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-ports in the body of the message
 




proctime.c.gz
Description: GNU Zip compressed data


signature.asc
Description: This is a digitally signed message part


Change to sys/sys/proc.h broke -current

2002-02-11 Thread Joe Clarke

I hadn't seen this reported in the archives yet, but the recent change
to sys/sys/proc.h removed the kg_pri struct member.  This member is
still referenced in lib/libkvm/kvm_proc.c at line 331, and
sys/kern/kern_poll.c.  I assume the fix for kvm_proc.c and kern_poll.c
would be something like the attached.

Joe




--- lib/libkvm/kvm_proc.c.orig  Tue Feb 12 00:58:37 2002
+++ lib/libkvm/kvm_proc.c   Tue Feb 12 01:14:40 2002
@@ -320,15 +320,18 @@
kp-ki_xstat = proc.p_xstat;
kp-ki_acflag = proc.p_acflag;
kp-ki_pctcpu = proc.p_kse.ke_pctcpu;   /* XXXKSE */
-   kp-ki_estcpu = proc.p_ksegrp.kg_estcpu;/* XXXKSE */
-   kp-ki_slptime = proc.p_kse.ke_slptime; /* XXXKSE */
+   kp-ki_estcpu = mainthread.td_ksegrp-kg_estcpu;/* XXXKSE */
+   kp-ki_slptime = mainthread.td_ksegrp-kg_slptime;  /* 
+XXXKSE */
kp-ki_swtime = proc.p_swtime;
kp-ki_flag = proc.p_flag;
kp-ki_sflag = proc.p_sflag;
kp-ki_wchan = mainthread.td_wchan; /* XXXKSE */
kp-ki_traceflag = proc.p_traceflag;
kp-ki_stat = proc.p_stat;
-   kp-ki_pri = proc.p_ksegrp.kg_pri;  /* XXXKSE */
+   kp-ki_pri.pri_level = mainthread.td_priority;
+   kp-ki_pri.pri_user = mainthread.td_ksegrp-kg_user_pri;
+   kp-ki_pri.pri_class = mainthread.td_ksegrp-kg_pri_class;
+   kp-ki_pri.pri_native = mainthread.td_base_pri;
kp-ki_nice = proc.p_ksegrp.kg_nice;/* XXXKSE */
kp-ki_lock = proc.p_lock;
kp-ki_rqindex = proc.p_kse.ke_rqindex; /* XXXKSE */


--- sys/kern/kern_poll.c.orig   Tue Feb 12 01:34:43 2002
+++ sys/kern/kern_poll.cTue Feb 12 01:38:15 2002
@@ -482,7 +482,7 @@
rtp.prio = RTP_PRIO_MAX;/* lowest priority */
rtp.type = RTP_PRIO_IDLE;
mtx_lock_spin(sched_lock);
-   rtp_to_pri(rtp, td-td_ksegrp-kg_pri);
+   rtp_to_pri(rtp, td-td_ksegrp);
pri = td-td_priority;
mtx_unlock_spin(sched_lock);
 



ES1370 Sound problems

1999-06-11 Thread Joe Clarke
I currently re-added my es1370-based Ensoniq soundcard to my FreeBSD 3.2
system with the hope of getting Luigi's sound driver working with it.  I
added the following line to my kernel:

device  pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0

Then rebooted.  I see the following in my dmesg output:

es1: AudioPCI ES1370 rev 0x00 int a irq 10 on pci0.15.0
pcm1: using I/O space register mapping at 0x1800

which looks good. The card was detected, and pcm1 was bound to it.  Next,
I cd to /dev, and did a ./MAKEDEV snd1.  This built the necessary device
entries.  I cat my /dev/sndstat, and see the following:

FreeBSD Audio Driver (981002) Jun 11 1999 02:46:46
Installed devices:
pcm1: ENSONIQ AudioPCI at 0x1800 irq 0 dma 0:0

So, that looks promising.  However, when I try to play a sound file or
even cat a file to /dev/audio, I get nothing.  Trying to play an mp3 with
mpg123, I get the following:

Can't reset audio!
Can't reset audio!

Is there something I'm missing?  Any input would be greatly appreciated.
Below is the output from pciconf -l and scanpci.

Joe Clarke

pciconf -l:

ch...@pci0:0:0: class=0x06 card=0x chip=0x71908086 rev=0x03
hdr=0x00
ch...@pci0:1:0: class=0x060400 card=0x chip=0x71918086 rev=0x03
hdr=0x01
ch...@pci0:7:0: class=0x060100 card=0x chip=0x71108086 rev=0x02
hdr=0x00
ide_p...@pci0:7:1:  class=0x010180 card=0x chip=0x71118086
rev=0x01 hdr=0x00
no...@pci0:7:2: class=0x0c0300 card=0x chip=0x71128086 rev=0x01
hdr=0x00
ch...@pci0:7:3: class=0x068000 card=0x chip=0x71138086 rev=0x02
hdr=0x00
r...@pci0:14:0:  class=0x02 card=0x1213 chip=0x1213 rev=0x10
hdr=0x00
e...@pci0:15:0:  class=0x040100 card=0x4c4c4942 chip=0x50001274 rev=0x00
hdr=0x00
a...@pci0:16:0: class=0x01 card=0x78819004 chip=0x81789004 rev=0x01
hdr=0x00
v...@pci1:0:0:  class=0x03 card=0x00201545 chip=0x002010de rev=0x04
hdr=0x00

scanpci:

PCI says configuration type 1

PCI probing configuration type 1
Probing for devices on PCI bus 0:


pci bus 0x0 cardnum 0x00 function 0x: vendor 0x8086 device 0x7190
 Intel 82443BX Host

pci bus 0x0 cardnum 0x01 function 0x: vendor 0x8086 device 0x7191
 Intel 82443BX AGP

pci bus 0x0 cardnum 0x07 function 0x: vendor 0x8086 device 0x7110
 Intel 82371AB PIIX4 ISA

pci bus 0x0 cardnum 0x07 function 0x0001: vendor 0x8086 device 0x7111
 Intel 82371AB PIIX4 IDE

pci bus 0x0 cardnum 0x07 function 0x0002: vendor 0x8086 device 0x7112
 Intel 82371AB PIIX4 USB

pci bus 0x0 cardnum 0x07 function 0x0003: vendor 0x8086 device 0x7113
 Intel 82371AB PIIX4 ACPI

pci bus 0x0 cardnum 0x0e function 0x: vendor 0x1113 device 0x1211
 Device unknown

pci bus 0x0 cardnum 0x0f function 0x: vendor 0x1274 device 0x5000
 Ensoniq AudioPCI

pci bus 0x0 cardnum 0x10 function 0x: vendor 0x9004 device 0x8178
 Adaptec 2940U/UW
Probing for devices on PCI bus 1:


pci bus 0x1 cardnum 0x00 function 0x: vendor 0x10de device 0x0020
 NVidia Riva TNT


-- 

Please use Reply-To: address for response.

Joe Clarke, CE |  |
Customer Support Engineer|  |
Phone: (919) 472-2867   ..:|::|:..
Email: jcla...@cisco.com c i s c o  S y s t e m s






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



Re: ES1370 Sound problems

1999-06-11 Thread Joe Clarke
I upped the volume to 100, but I am still getting the same errors.  Is
there anything else I should try?  I should also mention that when I cat a
file to /dev/audio or /dev/dsp, it immediately returns.  It looks like the
audio devices are nulls.  All the symlinks are correct and snd1 has been
built.  My Vibra16 in my other machine works just find as pcm1.

Joe Clarke

-- 
Joe Clarke, CE |  |
Customer Support Engineer|  |
Phone: (919) 472-2867   ..:|::|:..
Email: jcla...@cisco.com c i s c o  S y s t e m s




On Fri, 11 Jun 1999, Luigi Rizzo wrote:

  I currently re-added my es1370-based Ensoniq soundcard to my FreeBSD 3.2
  system with the hope of getting Luigi's sound driver working with it.  I
  added the following line to my kernel:
 
  So, that looks promising.  However, when I try to play a sound file or
  even cat a file to /dev/audio, I get nothing.  Trying to play an mp3 with
  mpg123, I get the following:
  
  Can't reset audio!
  Can't reset audio!
 
 first, you might miss symlinks from /dev/dsp-/dev/dsp1 and so on. the
 cure for the latter is
 
   cd /dev
   ./MAKEDEV snd1
 
 first, the volumes default to zero which is not helpful. try
 
   mixer pcm 100
 
 and see if something now comes out
 
   cheers
   luigi
 ---+-
   Luigi RIZZO, lu...@iet.unipi.it  . Dip. di Ing. dell'Informazione
   http://www.iet.unipi.it/~luigi/  . Universita` di Pisa
   TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy)
 
 http://www.iet.unipi.it/~luigi/ngc99/
   First International Workshop on Networked Group Communication  
 ---+-
 



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