Re: crystal sound problem

2000-02-08 Thread Sean O'Connell

mika ruohotie stated:
> 
> i have a problem with HP desktop which has onboard crystal
> sound-chip.
> 
> i talked briefly with cameron yesterday on irc, and he pointed out
> where i was wrong in my earlier attempts, but aven after that i
> was only able to get the boot to initialize the chip, i still get
> no sound.
> 
> the machine in question can be used for patch-testing if someone
> have those available. and yes, i have kept close eye on the mailing
> lists about the issue too...

Do you get any sound via the cdrom?  I have seen similar behavior
with a Thinkpad 570 whereby cdaudio will work just fine, but any
attempt to generate noise via /dev/audio or /dev/dsp results in
silence...

realplayer
waveplay

sure love to be able to have realaudio work for my users...

S

---
Sean O'ConnellEmail: [EMAIL PROTECTED]
Institute of Statistics and Decision Sciences Phone: (919) 684-5419
Duke University   Fax:   (919) 684-8594


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



Re: pcm on Thinkpad 600E

2000-03-03 Thread Sean O'Connell

Christopher T. Griffiths stated:
> Hello,
> 
> I am trying to get the pcm device to work under current on my Thinkpad
> 600e.
> 
> Here is my kernel line:
> 
> # Sound card support
> device  pcm0at isa? port ? irq 5 drq 1 flags 0x10
> 
> 
> I also made the device in /dev with:
> ./MAKEDEV snd0
> 
> Here is the kernel output that I am getting:
> 
> csa0:  mem
> 0x5000-0x500
> f,0x5010-0x50100fff irq 11 at device 6.0 on pci0
> pcm0:  on csa0
> pcm0: ac97 codec reports dac not ready
> 
> 
> Any Ideas??

Chris-

This a PCI card all you should need is:

device pcm0
device csa0

and you may want/need to add 

options PNPBIOS

I have installed -current on a Thinkpad 570.  This seems to
work fine for audio cd's (the mixer portion); however, I get
nothing but silence from the /dev/audio or /dev/dsp (things
like waveplay and realaudio are noops for me :( )

S
---
Sean O'ConnellEmail: [EMAIL PROTECTED]
Institute of Statistics and Decision Sciences Phone: (919) 684-5419
Duke University   Fax:   (919) 684-8594


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



newpcm vs. linux rvplayer

1999-09-07 Thread Sean O'Connell

Hey All-

Just cvsup'd and rebuilt world and new kernel.  Rebooted and
started playing around ...

rvplayer caused a panic.   

panic: feed_root: count == 0

syncing disks... 4 2 done

Reproducible, too :(  ... the G2 player doesn't work well, but
doesn't do audio worth a hoot.  Just playing a cd doesn't cause
the panic .. 

Is this newpcm related or linux emu?  Other linux apps seem
to work acroread, staroffice5.0, wordperfect 

Sound card info

>From dmesg:

pcm0:  at port 0x530-0x533,0x388-0x38b,0x220-0x22f irq 5 drq 0,1 on isa0
unknown0:  at port 0x200-0x207 on isa0
unknown1:  at port 0xf00-0xf07 on isa0

>From pnpinfo:

Card assigned CSN #1
Vendor ID CSC0735 (0x3507630e), Serial Number 0x
PnP Version 1.0, Vendor Version 1
Device Description: Crystal CS4236B

Logical Device ID: CSC 0x630e #0
Vendor register funcs 00
Device Description: WSS/SB
TAG Start DF
Good Configuration
I/O Range 0x530 .. 0x604, alignment 0xd4, len 0x4
[16-bit addr]
I/O Range 0x388 .. 0x3a0, alignment 0x8, len 0x4
[16-bit addr]
I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
[16-bit addr]
IRQ: 5 7 10 11  - only one type (true/edge)
DMA: channel(s) 0 1 3 
8-bit, not a bus master, count by byte, , Type A
DMA: channel(s) 0 1 3 
8-bit, not a bus master, count by byte, , Type A

-- 
-------
Sean O'ConnellEmail: [EMAIL PROTECTED]
Institute of Statistics and Decision Sciences Phone: (919) 684-5419
Duke University   Fax:   (919) 684-8594


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



newpcm and rvplayer

1999-09-14 Thread Sean O'Connell

Hello-

This is a second try at this.  I updating my kernel to current as
of September 12 1999 and have been consistently able to panic my
machine when attempting to use real audio (rvplayer5 under linux
compatibility) The panic is in feeder.c of the newpcm device with

$FreeBSD: src/sys/dev/pcm/feeder.c,v 1.3 1999/09/04 17:08:30 cg Exp$

The hardware is a Crystal CS4236B:

pcm0:  at port 0x530-0x533,0x388-0x38b,0x220-0x22f irq 5 drq 0,1 on isa0

Error message is:

panic: feed_root: count == 0

Bactrace:

(kgdb) bt
#0  boot (howto=260) at ../../kern/kern_shutdown.c:281
#1  0xc013008d in panic (fmt=0xc01ea614 "from debugger")
at ../../kern/kern_shutdown.c:531
#2  0xc01194c5 in db_panic (addr=-1071896353, have_addr=0, count=-1, 
modif=0xc7cdbc3c "") at ../../ddb/db_command.c:433
#3  0xc0119465 in db_command (last_cmdp=0xc020fae8, cmd_table=0xc020f948, 
aux_cmd_tablep=0xc02288d4) at ../../ddb/db_command.c:333
#4  0xc011952a in db_command_loop () at ../../ddb/db_command.c:455
#5  0xc011b5af in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71
#6  0xc01c269c in kdb_trap (type=3, code=0, regs=0xc7cdbd30)
at ../../i386/i386/db_interface.c:157
#7  0xc01cda58 in trap (frame={tf_fs = -1060569072, tf_es = 16, 
  tf_ds = -1061158896, tf_edi = -942817540, tf_esi = 256, 
  tf_ebp = -942817928, tf_isp = -942817956, tf_ebx = -1071659632, 
  tf_edx = -1071635441, tf_ecx = 0, tf_eax = 18, tf_trapno = 3, 
  tf_err = 0, tf_eip = -1071896353, tf_cs = 8, tf_eflags = 598, 
  tf_esp = -1071635457, tf_ss = -1071721021}) at ../../i386/i386/trap.c:534
#8  0xc01c28df in Debugger (msg=0xc01ed5c3 "panic") at machine/cpufunc.h:64


#9  0xc0130084 in panic (fmt=0xc01fc590 "feed_root: count == 0")
at ../../kern/kern_shutdown.c:529
#10 0xc01a9501 in feed_root (feeder=0xc021d600, buffer=0xc6d34efe "\025\r", 
count=0, stream=0xc7cdbefc) at ../../dev/pcm/feeder.c:112
#11 0xc01a8afc in chn_write (c=0xc0a4da00, buf=0xc7cdbefc)
at ../../dev/pcm/channel.c:286
#12 0xc01a7bec in dsp_write (d=0xc0682400, chan=0, buf=0xc7cdbefc, flag=17)
at ../../dev/pcm/dsp.c:187
#13 0xc01a7099 in sndwrite (i_dev=0xc0b6f100, buf=0xc7cdbefc, flag=17)
at ../../dev/pcm/sound.c:310
#14 0xc0163ca4 in spec_write (ap=0xc7cdbeb4)
at ../../miscfs/specfs/spec_vnops.c:369
#15 0xc0195d3c in ufsspec_write (ap=0xc7cdbeb4)
at ../../ufs/ufs/ufs_vnops.c:1858
#16 0xc0196251 in ufs_vnoperatespec (ap=0xc7cdbeb4)
at ../../ufs/ufs/ufs_vnops.c:2313
#17 0xc015df1e in vn_write (fp=0xc0c91100, uio=0xc7cdbefc, cred=0xc0c04e00, 
flags=0) at vnode_if.h:331
#18 0xc013ccd0 in dofilewrite (p=0xc74e4b80, fp=0xc0c91100, fd=6, 
buf=0x81d78c8, nbyte=132, offset=-1, flags=0)
at ../../kern/sys_generic.c:363
#19 0xc013cbdf in write (p=0xc74e4b80, uap=0xc7cdbf80)
at ../../kern/sys_generic.c:298
#20 0xc01ce26a in syscall (frame={tf_fs = 135921711, tf_es = -1078001617, 
  tf_ds = -1078001617, tf_edi = 135922760, tf_esi = -1077947048, 
  tf_ebp = -1077947152, tf_isp = -942817324, tf_ebx = 6, tf_edx = 132, 
  tf_ecx = 136149192, tf_eax = 4, tf_trapno = 22, tf_err = 2, 
  tf_eip = 674069812, tf_cs = 31, tf_eflags = 582, tf_esp = -1077947156, 
  tf_ss = 47}) at ../../i386/i386/trap.c:1056
#21 0xc01c2f96 in Xint0x80_syscall ()
#22 0x80f3b44 in ?? ()
#23 0x80f2e40 in ?? ()
#24 0x80ef1cd in ?? ()
#25 0x80d79f0 in ?? ()
#26 0x80d7709 in ?? ()
#27 0x80d5f5c in ?? ()
#28 0x80cbf2d in ?? ()
#29 0x80cafb7 in ?? ()
#30 0x807ee36 in ?? ()
#31 0x807d230 in ?? ()
#32 0x8094ccd in ?? ()
#33 0x80797b4 in ?? ()
#34 0x8076fb8 in ?? ()
#35 0x8076abb in ?? ()
(kgdb) 



-- 
-------
Sean O'ConnellEmail: [EMAIL PROTECTED]
Institute of Statistics and Decision Sciences Phone: (919) 684-5419
Duke University   Fax:   (919) 684-8594


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



Re: Panic (From -chat's Re: Real Audio program that discusses FreeBSD, solaris, and Linux)

1999-09-17 Thread Sean O'Connell

hi-

This looks awfully familiar to what rvplayer does to me on
my -current box.  Of course, no one has responded at all ot
anything that I sent out...

What kind of soundcard do you have?  Mine is Crystal CS4236B
shipped with my box (a Digital 5510)...

I tried sending an email to cameron grant ([EMAIL PROTECTED]), but I
have heard nothing.

S

On 1999 Sep 17, Matthew D. Fuller (aka [EMAIL PROTECTED]) wrote:
> When I tried to view the program linked here, my -CURRENT system went
> kablouie.
> 
> FreeBSD mortis.futuresouth.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Tue
> Sep 14 16:48:29 CDT 1999
> [EMAIL PROTECTED]:/usr/src/sys/compile/MORTIS  i386
> 
> I have a coredump.  Panic message is:
> (Yes, I have mastered the skill of dropping to DDB and panicing while in
> X  ;)
> 
> Ideas?
> 
> Backtrace looks like:
> #0  boot (howto=256) at ../../kern/kern_shutdown.c:281
> #1  0xc0157319 in panic (fmt=0xc0282090 "feed_root: count == 0")
> at ../../kern/kern_shutdown.c:531
> #2  0xc0215685 in feed_root (feeder=0xc02aa460, 
> buffer=0xcbfcbefe , count=0,
> stream=0xce35aefc)
> at ../../dev/pcm/feeder.c:112
> #3  0xc0214c80 in chn_write (c=0xc10d4000, buf=0xce35aefc) at
> ../../dev/pcm/channel.c:286
> #4  0xc0213d70 in dsp_write (d=0xc10d3400, chan=0, buf=0xce35aefc,
> flag=21)
> at ../../dev/pcm/dsp.c:187
> #5  0xc021321d in sndwrite (i_dev=0xc11e3f00, buf=0xce35aefc, flag=21)
> at ../../dev/pcm/sound.c:310
> #6  0xc018bcc4 in spec_write (ap=0xce35aeb4) at
> ../../miscfs/specfs/spec_vnops.c:369
> #7  0xc0201cb0 in ufsspec_write (ap=0xce35aeb4) at
> ../../ufs/ufs/ufs_vnops.c:1858
> #8  0xc0202251 in ufs_vnoperatespec (ap=0xce35aeb4) at
> ../../ufs/ufs/ufs_vnops.c:2313
> #9  0xc0186032 in vn_write (fp=0xc15d4dc0, uio=0xce35aefc,
> cred=0xc12e0f00, flags=0)
> at vnode_if.h:331
> #10 0xc0163fc8 in dofilewrite (p=0xce2c8340, fp=0xc15d4dc0, fd=13,
> buf=0x81cfc88, 
> nbyte=1066, offset=-1, flags=0) at ../../kern/sys_generic.c:363
> #11 0xc0163ed7 in write (p=0xce2c8340, uap=0xce35af80) at
> ../../kern/sys_generic.c:298
> #12 0xc0241d76 in syscall (frame={tf_fs = -1078001617, tf_es = 47, tf_ds
> = -1078001617, 
>   tf_edi = 135924656, tf_esi = -1077948116, tf_ebp = -1077948220,
> tf_isp = -835342380, 
>   tf_ebx = 13, tf_edx = 1066, tf_ecx = 136117384, tf_eax = 4,
> tf_trapno = 12, 
>   tf_err = 2, tf_eip = 405666084, tf_cs = 31, tf_eflags = 582, tf_esp
> = -1077948224, 
>   tf_ss = 47}) at ../../i386/i386/trap.c:1056
> #13 0xc022f171 in Xint0x80_syscall ()

-- 
---
Sean O'ConnellEmail: [EMAIL PROTECTED]
Institute of Statistics and Decision Sciences Phone: (919) 684-5419
Duke University   Fax:   (919) 684-8594


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



Re: real audio crash

1999-09-18 Thread Sean O'Connell

On 1999 Sep 18, Chris Costello (aka [EMAIL PROTECTED]) wrote:
> On Sat, Sep 18, 1999, Bill/Carolyn Pechter wrote:
> > Is user mode ppp involved here with any one else?
> 
>RealVideo stuff from http://www.broadcast.com/events/nasa
> (IIRC) caused my system to crash, and I'm not using PPP at all.
> I believe it's got something to do with newpcm.

Chris-

This has been my experience, too.  What kind of soundcard do
you have?  Mine is Crystal CS4236B

FreeBSD Audio Driver (newpcm) Sep 17 1999 00:55:11
Installed devices:
pcm0:  at io 0x530 irq 5 drq 0:1 (1/1 channels duplex)

My crashes are over an ADSL line from home.

S
-- 
---
Sean O'ConnellEmail: [EMAIL PROTECTED]
Institute of Statistics and Decision Sciences Phone: (919) 684-5419
Duke University   Fax:   (919) 684-8594


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



Re: workaround for ata driver woes on alpha

1999-10-18 Thread Sean O'Connell

On 1999 Oct 18, Andrew Gallatin (aka [EMAIL PROTECTED]) wrote:
> 
> BTW -- I just talked to a collegue here who's getting screwed by
> ad_timeout() with a very slow disk on a pc.  It sounds like it could
> be the same problem.

Hi-

I would be that induhvidual.

I have x86 box at home running current as of last night that
began to behave this way:

FreeBSD bobzilla 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Sun Oct 17 21:45:50 EDT 1999 
sto@bobzilla:/usr/src/sys/compile/BOBZILLA  i386

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-4 disk at ata0 as master
ad1:  ATA-? disk at ata1 as slave 
acd0:  CDROM drive at ata1 as master
ata1-slave: ad_timeout: lost disk contact - resetting
ata1: resetting devices .. done


Once this ad_timeout happened, I was hosed. I had to power
cycle my way out of a shutdown.. and  upon reboot, the file
system was completely toast.   newfs was my only way out...
fortunately, this was just my /usr/obj directory, so I am not
too concerned about the lost data.

Of course, this could just be a sign of the imminent demise of
this drive.

Hope this helps.
S
-- 
-------
Sean O'ConnellEmail: [EMAIL PROTECTED]
Institute of Statistics and Decision Sciences Phone: (919) 684-5419
Duke University   Fax:   (919) 684-8594


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



Re: errno (46) - for FreeBSD 4.0 NFS server

2000-03-22 Thread Sean O'Connell

Grigory Kljuchnikov stated:
> Thank you, Erik!
> 
> I find rpc.lockd and start it manually. My test with NFS locking works right.
> But it don't start on boot by default if I enable NFS server in
> /stand/sysinstall and there is the comment in /etc/default/rc.conf
> for rpc_lockd_enable:
> 
> rpc_lockd_enable="NO"  # Run NFS rpc.lockd (*broken!*) if nfs_server.
> 
> Does the comment "(*broken!*)" mean that rpc.lockd doesn't work properly? 
> 
> Grigory.
> 
> On Wed, 22 Mar 2000, Erik Trulsson wrote:
> 
> > On Wed, Mar 22, 2000 at 12:04:55PM +0300, Grigory Kljuchnikov wrote:
> > > Thierry, thank you for the information, 
> > > but it's very bad that there isn't NFS locking in FreeBSD.
> > > I'm afraid I need to move my FreeBSD NFS server to Solaris
> > > for x86. 
> > > 
> > > I don't understand why NFS locking isn't in FreeBSD. 
> > > Is it difficult in the implementation or are there another 
> > > global problems in the kernel (or in the native filesystem)?
> > > 
> > > Who know when the NFS locking is planed to release in FreeBSD?
> > 
> > Actually I think that server side locking *is* implemented but client side
> > locking isn't.
> > 'man 8 rpc.lockd' for more information.
> > (And 'man 5 rc.conf' for information on how to start it at bootup.

Grigory-

My understanding of the current implementation of rpc.lockd is 
that it is a facade and simply tells the client requesting a
lock "sure kid, you have a lock" and then does nothing.

"David E. Cross" <[EMAIL PROTECTED]> has been working to
implement a real server-side rpc.lockd.  You may want to
contact him.  The first go 'round failed the nfs connectathon
tests, but the second version purportedly addresses these
issues with all but SGI boxen.   However, it was delayed
pending some system header changes...


Since the merger with BSDi, FreeBSD hopefully will be getting
both client and server-side locking (of course, this will
appear first in 5.0-CURRENT at some point) along with some
nice SMP support (fingers firmly crossed).


Hope this helps,
S

---
Sean O'ConnellEmail: [EMAIL PROTECTED]
Institute of Statistics and Decision Sciences Phone: (919) 684-5419
Duke University   Fax:   (919) 684-8594


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



Re: Anyone else seeing jumpy mice?

2000-05-22 Thread Sean O'Connell

Frank Mayhar stated:
> Matthew Dillon wrote:
> > I don't know if the mouse problems are related or not, did anyone have
> > jumpy-mouse problems before the SMP cleanup was committed? (i.e. in
> > kernels then two weeks old for 4.0, and four weeks old for 5.0).
> 
> Yes.  This started long before the SMP cleanup MFC.  I'm running 4-stable.

Let me second this.  I have been unable to use moused on my laptop 
(Sony VAIO 505TR with Versapad) since syscons changes went in right
after 4.0-RELEASE (it worked under -RELEASE), but broke under -STABLE.
I had a discussion with Kazutaka YOKOTA, but nothing was resolved.  
Cut and paste were OKish on the ttyvN with a very twitchy pointer image,
but it was completely unusable under XFree86-3.3.6 that shipped with 
-RELEASE (not sure if I should rebuild X or not).  I have been running
sans moused ever since (so it is not hardware related in my case).

S
-------
Sean O'ConnellEmail: [EMAIL PROTECTED]
Institute of Statistics and Decision Sciences Phone: (919) 684-5419
Duke University   Fax:   (919) 684-8594


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



current.freebsd.org

2000-12-01 Thread Sean O'Connell

Hi All-

Not sure if this the right place to complain or not, but current.freebsd.org
does not appear to be on the net.  traceroutes to both current.freebsd.org 
and usw2.freebsd.org (its alterego) fail.  I did find that ftp7.de.freebsd.org
has the 27 November 2000 snapshot of current on it .. was this the last time
current.freebsd.org was alive?

What is the proper place to complain?  A quick search of handbook/faq
and archives of this list yields nothing ...

Thanks,
S
---
Sean O'ConnellEmail: [EMAIL PROTECTED]
Institute of Statistics and Decision Sciences Phone: (919) 684-5419
Duke University   Fax:   (919) 684-8594


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



Re: /etc/shells #include syntax support patch

2001-01-29 Thread Sean O'Connell

Mike Meyer stated:
: [EMAIL PROTECTED] types:
: > At 29 Jan 2001 11:49:36 +0100,
: > Dag-Erling Smorgrav <[EMAIL PROTECTED]> wrote:
: > > No. Mergemaster doesn't care about the contents of the file, only
: > > about its $FreeBSD$ tag. As long as this stays the same, it'll leave
: > > the file alone. If you remove the $FreeBSD$ tag in the installed file
: > > or someone commits to src/etc/shells, mergemaster will prompt you.
: > I want mergemaster(8) to have a list not to compare.  It is not
: > necessary for mergemaster(8) to compare host specific files, for
: > example, /etc/hosts, /etc/printcap and /etc/shells, to their
: > originals in /usr/src.  I want that system managers for local
: > hosts can decide which files follow the source and which files
: > do not.
: 
: There was some discussion of about this on -questions (I think it was)
: a while back, and the author commented on some things he was working
: on. You might look through those, then nudge him about it.

You have been able to do it with mergemaster for quite some time
now. How I do this is to add

MM_PRE_COMPARE_SCRIPT='/path/to/my/mmprecompare.sh'

to my (and hence root .. I use sudo) .mergemasterrc file. And
mmprecompare.sh consists of:

<- snip >
#! /bin/sh

# Create a log file ??
DATE=`date +%Y%m%d`
LOGFILE="/tmp/mergemaster-${DATE}"

# Ignore these files
IGNORE_LIST="/.cshrc \
/etc/mail/aliases \
/etc/csh.cshrc \
/etc/csh.login \
/etc/dhclient.conf \
/etc/group \
/etc/hosts \
/etc/hosts.allow \
/etc/hosts.equiv \
/etc/hosts.lpd \
/etc/mail/sendmail.cf \
/etc/master.passwd \
/etc/namedb/PROTO.localhost.rev \
/etc/namedb/make-localhost \
/etc/namedb/named.conf \
/etc/namedb/named.root \
/etc/newsyslog.conf \
/etc/printcap \
/etc/ssh/ssh_config \
/etc/ssh/sshd_config \
/etc/syslog.conf \
/etc/ttys \
/root/.cshrc \
/root/.login"
#
# remove w/o complaint the files in question
#
for IGNORE in ${IGNORE_LIST}
do
   #
   IDENT1=`ident "${DESTDIR}${IGNORE}" 2>&1`
   IDENT2=`ident "${TEMPROOT}${IGNORE}" 2>&1`
   case "${IDENT2}" in 
   *'no id keywords'*)
  ;;
   ."${IDENT1}")
  # No worries ???
  # echo " *** ${DESTDIR}${IGNORE} is the same ***" | tee "${LOGFILE}"
  ;;
   *)
  # Ruh-Roh!
  echo " *** ${DESTDIR}${IGNORE} has changed! ***" | tee "${LOGFILE}"
  ;;
   esac
   #
   rm "${TEMPROOT}${IGNORE}"
done
#
<- snip >




-- 
101-01010101010
Sean O'Connell   [EMAIL PROTECTED]


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