Problems with IBM A21p, Solaris 9 (0404) and OSS

OSS specific Solaris discussion (x86/SPARC)

Moderators: hannu, dev, cesium, kodachi

Problems with IBM A21p, Solaris 9 (0404) and OSS

Postby sbiggar » Tue Jul 20, 2004 4:40 pm

I have a fully patched Solaris 9 installation on an IBM A21p (old 850 MHz P3 with 512 MB RAM) and use XFree86 4.4.0. I just installed the new version of oss. If I run soundon, the machine crashes (no response to keyboard or mouse).

This also happened with an older version of OSS with an older Xfree86. However, the crash does not happen if I use Xi Graphics Summit as the X-server. Is there some way to figure out what the interaction is between XFree86 4.4 and OSS 3991d for Solaris and allow use of sound?

The notebook uses an ATI Mobility M3 with 16 MB of vram. It has a very nice 1600x1200 pixel 15" display (that is one of the reasons I'm still using it).

Thanks,

Stuart Biggar
sbiggar
New Member
 
Posts: 4
Joined: Tue Jul 20, 2004 4:30 pm

Re: Problems with IBM A21p, Solaris 9 (0404) and OSS

Postby dev » Tue Jul 20, 2004 7:11 pm

sbiggar wrote:I have a fully patched Solaris 9 installation on an IBM A21p (old 850 MHz P3 with 512 MB RAM) and use XFree86 4.4.0. I just installed the new version of oss. If I run soundon, the machine crashes (no response to keyboard or mouse).

This also happened with an older version of OSS with an older Xfree86. However, the crash does not happen if I use Xi Graphics Summit as the X-server. Is there some way to figure out what the interaction is between XFree86 4.4 and OSS 3991d for Solaris and allow use of sound?

The notebook uses an ATI Mobility M3 with 16 MB of vram. It has a very nice 1600x1200 pixel 15" display (that is one of the reasons I'm still using it).

Thanks,

Stuart Biggar


What is the audio device on the A21?. Check to see if there are any dma/irq conflicts?

Best regards
Dev Mazumdar
dev
Developer
 
Posts: 580
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Re: Problems with IBM A21p, Solaris 9 (0404) and OSS

Postby sbiggar » Tue Jul 20, 2004 7:38 pm

dev wrote:
sbiggar wrote:I have a fully patched Solaris 9 installation on an IBM A21p (old 850 MHz P3 with 512 MB RAM) and use XFree86 4.4.0. I just installed the new version of oss. If I run soundon, the machine crashes (no response to keyboard or mouse).

This also happened with an older version of OSS with an older Xfree86. However, the crash does not happen if I use Xi Graphics Summit as the X-server. Is there some way to figure out what the interaction is between XFree86 4.4 and OSS 3991d for Solaris and allow use of sound?

The notebook uses an ATI Mobility M3 with 16 MB of vram. It has a very nice 1600x1200 pixel 15" display (that is one of the reasons I'm still using it).

Thanks,

Stuart Biggar


What is the audio device on the A21?. Check to see if there are any dma/irq conflicts?

Best regards
Dev Mazumdar


IBM says it is a PCI audio/SoundBlasterPro support/CS4624 with CS4297A AC97 codec"

prtconf -D has a single line for it:

pci1014,153 (driver name: oss)

prtconf -pv reports:

Node 0x1ed8b8
assigned-addresses: 82002810.00000000.f0122000.00000000.00001000.82002814.00000000.f0000000.00000000.00100000
class-code: 00040100
compatible: 31696370.2c343130.00333531.31696370.2c343130.00333531.31696370.2c333130.33303036.69637000.73616c63.34302c73.30303130.00000000
device-id: 00006003
devsel-speed: 00000002
interrupts: 00000001
max-latency: 00000018
min-grant: 00000004
model: 'PCI: 1014,153 - class: Audio device'
name: 'pci1014,153'
power-consumption: 00000001.00000001
reg: 00002800.00000000.00000000.00000000.00000000.02002810.00000000.00000000.00000000.00001000.02002814.00000000.00000000.00000000.00100000
revision-id: 00000001
slot: 00000000
subsystem-id: 00000153
subsystem-vendor-id: 00001014
unit-address: '5'
vendor-id: 00001013

I don't know how to determine if there are interrupt/dma conflicts in solaris. I do know
that Windows2000 on the same notebook remaps some interrupts so I can't use that to
find out. Int 11 is the shared PCI interrupt in the bios. I think (but do not know for certain) that the built-in ethernet and cardbus slots (using Lynnsoft cardbus drivers) share 11. Audio would probably be there also but I don't know how to tell.

Stuart
sbiggar
New Member
 
Posts: 4
Joined: Tue Jul 20, 2004 4:30 pm

Re: Problems with IBM A21p, Solaris 9 (0404) and OSS

Postby dev » Tue Jul 20, 2004 8:43 pm

sbiggar wrote:
dev wrote:
sbiggar wrote:I have a fully patched Solaris 9 installation on an IBM A21p (old 850 MHz P3 with 512 MB RAM) and use XFree86 4.4.0. I just installed the new version of oss. If I run soundon, the machine crashes (no response to keyboard or mouse).

This also happened with an older version of OSS with an older Xfree86. However, the crash does not happen if I use Xi Graphics Summit as the X-server. Is there some way to figure out what the interaction is between XFree86 4.4 and OSS 3991d for Solaris and allow use of sound?

The notebook uses an ATI Mobility M3 with 16 MB of vram. It has a very nice 1600x1200 pixel 15" display (that is one of the reasons I'm still using it).

Thanks,

Stuart Biggar


What is the audio device on the A21?. Check to see if there are any dma/irq conflicts?

Best regards
Dev Mazumdar


IBM says it is a PCI audio/SoundBlasterPro support/CS4624 with CS4297A AC97 codec"

prtconf -D has a single line for it:

pci1014,153 (driver name: oss)

prtconf -pv reports:

Node 0x1ed8b8
assigned-addresses: 82002810.00000000.f0122000.00000000.00001000.82002814.00000000.f0000000.00000000.00100000
class-code: 00040100
compatible: 31696370.2c343130.00333531.31696370.2c343130.00333531.31696370.2c333130.33303036.69637000.73616c63.34302c73.30303130.00000000
device-id: 00006003
devsel-speed: 00000002
interrupts: 00000001
max-latency: 00000018
min-grant: 00000004
model: 'PCI: 1014,153 - class: Audio device'
name: 'pci1014,153'
power-consumption: 00000001.00000001
reg: 00002800.00000000.00000000.00000000.00000000.02002810.00000000.00000000.00000000.00001000.02002814.00000000.00000000.00000000.00100000
revision-id: 00000001
slot: 00000000
subsystem-id: 00000153
subsystem-vendor-id: 00001014
unit-address: '5'
vendor-id: 00001013

I don't know how to determine if there are interrupt/dma conflicts in solaris. I do know
that Windows2000 on the same notebook remaps some interrupts so I can't use that to
find out. Int 11 is the shared PCI interrupt in the bios. I think (but do not know for certain) that the built-in ethernet and cardbus slots (using Lynnsoft cardbus drivers) share 11. Audio would probably be there also but I don't know how to tell.

Stuart


Hi,

You should try one thing:

try to start OSS before X - there is something called the CLKRUN problem
with IBM's laptops and if you set the CLKRUN bit. We're putting an option
to enable/disable the CLKRUN bit so that in the next version you can
enable it or disable it if the CLKRUN bit gives you a problem.

XiG implements the CLKRUN support correctly while XFree could be problematic. I don't have this laptop inhouse but I know that there is a
relationship between X and Audio on this laptop.

So in order to check if OSS works before starting X, either disable X
from starting automatically or you can try logging in on the console first,
start OSS and log out and wait for XDM to restart X windows. Now you
should be able to log in. If XDM doesn't start X then we'll send you the
latest version of OSS that should fix this problem


best regards
Dev
dev
Developer
 
Posts: 580
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby sbiggar » Wed Jul 21, 2004 12:07 am

I ran dtconfig -d and rebooted to a command line login. I still had an apparent
machine hang after running soundon. I'm typing this in from handwritten notes:

cd /opt/oss/bin
sh -x ./soundon
+ . /etc/oss.conf
OSSLIBDIR=/opt/oss
TTYDEV=/dev/console
+ cd /opt/oss
TTYDEV=/dev/tty
LOG=/opt/oss/logs/soundon.log
+ echo Starting OSS/Solaris (PCI)
+ date
+ uname -a
+ echo
+ /usr/sbin/modload /opt/oss/modules/oss
echo OSS driver loaded OK.
echo ==== devices.cfg ====
test -f /opt/oss/etc/devices/cfg
+ cat /opt/oss/etc/devices.cfg
+ /opt/oss/bin/sndconf - /opt/oss

After that all I get is a blinking cursor ...
I'm at home so don't have another machine to see if network is still working. Control C did not get me back to a prompt but I don't know enough about sh -x to know if that was the right thing to do. I paste in the contents of a few files:

[a21p:/opt/oss/logs]# more soundon.log
Starting OSS/Solaris (PCI)
Tue Jul 20 15:16:12 MST 2004
SunOS a21p 5.9 Generic_117172-05 i86pc i386 i86pc

OSS driver loaded OK.
==== devices.cfg ====
# Use soundconf to edit this file.
/SECUREAUDIO OFF
[a21p:/opt/oss/logs]#

[a21p:/opt/oss/logs]# cat soundconf.log
Starting soundconf for OSS/Solaris
Sat Jul 17 15:33:18 MST 2004
SunOS a21p 5.9 Generic_117172-05 i86pc i386 i86pc

OSS driver module loaded OK
============
============
Jul 17 15:24:16 a21p pseudo: [ID 129642 kern.info] pseudo-device: devinfo0
Jul 17 15:24:16 a21p genunix: [ID 936769 kern.info] devinfo0 is /pseudo/devinfo@0
Jul 17 15:24:19 a21p isa: [ID 202937 kern.info] ISA-device: fdc0
Jul 17 15:24:19 a21p fdc: [ID 114370 kern.info] fd0 at fdc0
Jul 17 15:24:19 a21p genunix: [ID 936769 kern.info] fd0 is /isa/fdc@1,3f0/fd@0,0
Jul 17 15:24:20 a21p rootnex: [ID 349649 kern.info] xsvc0 at root
Jul 17 15:24:20 a21p genunix: [ID 936769 kern.info] xsvc0 is /xsvc
Jul 17 15:24:20 a21p pci: [ID 370704 kern.info] PCI-device: pci8086,7190@0, xsvc1
Jul 17 15:24:20 a21p genunix: [ID 936769 kern.info] xsvc1 is /pci@0,0/pci8086,7190@0
Jul 17 15:24:20 a21p pci: [ID 370704 kern.info] PCI-device: pci20c,d041@0, xsvc2
Jul 17 15:24:20 a21p genunix: [ID 936769 kern.info] xsvc2 is /pci@0,0/pci20c,d041@0
Jul 17 15:24:20 a21p genunix: [ID 290600 kern.info] duplicate device node /pci@0,0/pci20c,d041
Jul 17 15:24:21 a21p i8042: [ID 526150 kern.info] 8042 device: mouse@1, mouse8042 # 0
Jul 17 15:24:21 a21p genunix: [ID 936769 kern.info] mouse80420 is /isa/i8042@1,60/mouse@1
Jul 17 15:24:35 a21p inetd[162]: [ID 396432 daemon.warning] '/usr/dt/bin/rpc.ttdbserverd' terminated due to signal 11 (Segmentation Fault), core dumped
Jul 17 15:24:36 a21p rpc.ttdbserverd[420]: [ID 862439 daemon.error] NetISAM: read failed: requested 1024 bytes, got 0
Jul 17 15:24:36 a21p ToolTalk/ISAM[420]: [ID 314109 user.error] Fatal error: read failed: requested 1024 bytes, got 0 - No such file or directory
Jul 17 15:24:36 a21p inetd[162]: [ID 977688 daemon.warning] '/usr/dt/bin/rpc.ttdbserverd' terminated with exit status 1
Jul 17 15:33:18 a21p pci: [ID 370704 kern.info] PCI-device: pci1014,153@5, oss1
Jul 17 15:33:18 a21p genunix: [ID 936769 kern.info] oss1 is /pci@0,0/pci1014,153@5
[a21p:/opt/oss/logs]#

[a21p:/opt/oss/etc]# cat devices.cfg
# Use soundconf to edit this file.
/SECUREAUDIO OFF
[a21p:/opt/oss/etc]#

I guess I go to XiG Summit (but no display postscript) or wait for a new OSS version.
I do have a license for this machine which I purchased some time back but I'm obviously out of support:

[a21p:/export/home/a21p/tools/oss_license]# cat license.dat
-----BEGIN PGP SIGNED MESSAGE-----

Copyright (C) 4Front Technologies. All rights reserved.

!serial=N02688519
!product=OSS_1
!options=CRYSTAL
!person=Rob Kingston
!organization=Optical Sciences Center
!email=Stuart.Biggar@opt-sci.Arizona.EDU
!address=University of Arizona
!city=Tucson
!country=AZ 85721
!phone=520 621 8168
!os=Solaris
!sold_by=4Front
!issued=20011206
LICENSE TERMS:

o This license gives the above mentioned licensee the right to use the
Open Sound System product

o A license with this serial number cannot be installed on more than one
machine at the same time

o This license entitles the licensee free technical support until the end
of year 2003 and free upgrades to OSS 3.x/4.x versions released before
end of year 2004

!support=2003
!upgrades=2004
!version=4.
!flags=e83d47ff

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQCVAwUBPA+t8f3Qf0EqGFgRAQGw1AP9E579g6+q2fUbeZ2p5SkDCa0aPb2YUlLa
jxUkXVnOENFaPkf/g7l3xfmRGQffz4t56rlySrmPDbBjHh9NpuyXrnl1u7Lvo2IZ
UP8/2FWawLj1OHMnVhKXZPeumm+Gz7gaZIT4Tax3XJXYAIMxmV8Rl6LmNYIzEc0t
3Y+PHwqhdW0=
=qbID
-----END PGP SIGNATURE-----

I just thought I'd try the new version based on the announcement in the Yahoo x86 mailing list.

Thanks for your help.

Stuart
sbiggar
New Member
 
Posts: 4
Joined: Tue Jul 20, 2004 4:30 pm

Postby dev » Wed Jul 21, 2004 3:59 pm

sbiggar wrote:I ran dtconfig -d and rebooted to a command line login. I still had an apparent
machine hang after running soundon. I'm typing this in from handwritten notes:

[snip]
Thanks for your help.

Stuart


Hi Stuart,


We have now got the OSS 3.99.1e version on the net and the new
option you can set in /usr/lib/oss/etc/options.cfg is:
cs4280_clkrun_fix=0 and then run soundon and see if that works.
By default cs4280_clkrun_fix is set to 1 (old method). Let me know
if this works or not.


regards
Dev Mazumdar
dev
Developer
 
Posts: 580
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby sbiggar » Mon Aug 16, 2004 4:16 pm

dev wrote:
sbiggar wrote:I ran dtconfig -d and rebooted to a command line login. I still had an apparent
machine hang after running soundon. I'm typing this in from handwritten notes:

[snip]
Thanks for your help.

Stuart


Hi Stuart,


We have now got the OSS 3.99.1e version on the net and the new
option you can set in /usr/lib/oss/etc/options.cfg is:
cs4280_clkrun_fix=0 and then run soundon and see if that works.
By default cs4280_clkrun_fix is set to 1 (old method). Let me know
if this works or not.


regards
Dev Mazumdar


I've now installed 3.99.1f while trying to further debug things. I've also installed the latest XiG Summit drivers, replacing the Sun version of Xfree86. Sound seems to work using ossplay on .au files. However, if I try to play the flash animation from www.jibjab.com, the animation fails partway through if soundon has been run. The audio continues but the video hangs. If soundon has not been run, then the animation video plays fine.

Machine is an IBM Thinkpad A21p with 512 MB RAM. Processor is PIII 850 Speedstep. I have turned the PCI bus power management from auto to disabled using the BIOS setup utility in Windows. The bios is the most recent one provided by IBM only a few months ago. OS is Solaris 9 updated with 0904 and all more recent patches.

If I run try to configure sound (soundconf) after running soundon and save on exit, the machine crashes and reboots! Same if I run soundoff.

Note that the flash animation from www.jibjab.com works fine on a SPARC displaying to a Sunray using the same version of the flashplayer (but for sparc) and the animation works fine on the same notebook when running Windows 2000 using netscape with the Windows flashplayer for Netscape.

I have tried the animation using the most recent blastwave mozilla (1.7.2), the previous blastwave mozilla (1.7.1) and the sun provided mozilla on the mozilla site (1.7). The animation fails with any of them. If the PCI bus power management is auto, the animation never really starts if soundon has been run. With PCI bus power disabled, the animation starts but stalls. At that point, mozilla is unresponsive and I can't use the file menu to close it. If I double click on the icon in the upper left of the frame, mozilla will close some minutes after the double click. If the mozilla window is covered and the exposed, it is never rewritten if sound is playing. If soundon has not been run, mozilla stays responsive and covered and then exposed window is rewritten quickly.

Suggestions?

Stuart
sbiggar
New Member
 
Posts: 4
Joined: Tue Jul 20, 2004 4:30 pm


Return to Solaris

Who is online

Users browsing this forum: No registered users and 1 guest

cron