Solaris 10 x86 - M Audio Rev. 7.1

OSS specific Solaris discussion (x86/SPARC)

Moderators: cesium, dev, kodachi, hannu

Solaris 10 x86 - M Audio Rev. 7.1

Postby atif63 » Sat Mar 26, 2005 6:02 pm

Downloaded the evaluation driver(oss3992c-solaris-x86-v9-pci.tar.Z) for M Audio Revolution 7.1 for Solaris 10 x86 platform.
Installed the driver and it detected a Generic ENVy24HT based chipset for the soundcard.
Did 'Audio self test(full test)' with /usr/lib/oss/bin/soundconf. The test was successfull, i heard audio through /dev/dsp0 in the L/R channels seperately and in stereo.

But wheni run /usr/lib/oss/bin/soundon > the try to play a cd or open the mixer. The system crashes and then reboots.

#####################################################################

Upon reboot this is what 'dmesg' reports:
Mar 26 12:19:58 tehuti pci_pci: [ID 370704 kern.info] PCI-device: pci1412,3630@c, oss0
Mar 26 12:19:58 tehuti genunix: [ID 936769 kern.info] oss0 is /pci@0,0/pci8086,244e@1e/pci1412,3630@c
Mar 26 12:20:03 tehuti unix: [ID 954099 kern.info] NOTICE: IRQ10 is being shared by drivers with different interrupt levels.
Mar 26 12:20:03 tehuti This may result in reduced system performance.
Mar 26 12:20:03 tehuti unix: [ID 954099 kern.info] NOTICE: IRQ10 is being shared by drivers with different interrupt levels.
Mar 26 12:20:03 tehuti This may result in reduced system performance.
Mar 26 12:32:10 tehuti pci_pci: [ID 370704 kern.info] PCI-device: pci1412,3630@c, oss0
Mar 26 12:32:10 tehuti genunix: [ID 936769 kern.info] oss0 is /pci@0,0/pci8086,244e@1e/pci1412,3630@c

######################################################################

This is what '/dev/sndstat' reports:
cat /dev/sndstat
OSS/Solaris 3.99.2c (C) 4Front Technologies 1996-2004
Build: 200503241547

Card config:
VIA ENVY24HT at 0xb400


***** OSS not started *****

#################################################################

This is what '/usr/sbin/prtconf -D' reports in reference to oss:
pci1412,3630, instance #0 (driver name: os)

###############################################################

This is what '/usr/lib/oss/log/soundconf.log' reports:
OSS driver module loaded OK
============
============
Mar 26 12:16:08 tehuti genunix: [ID 936769 kern.info] rsm0 is /pseudo/rsm@0
Mar 26 12:16:08 tehuti pseudo: [ID 129642 kern.info] pseudo-device: profile0
Mar 26 12:16:08 tehuti genunix: [ID 936769 kern.info] profile0 is /pseudo/profile@0
Mar 26 12:16:08 tehuti pseudo: [ID 129642 kern.info] pseudo-device: systrace0
Mar 26 12:16:08 tehuti genunix: [ID 936769 kern.info] systrace0 is /pseudo/systrace@0
Mar 26 12:16:08 tehuti pseudo: [ID 129642 kern.info] pseudo-device: fbt0
Mar 26 12:16:08 tehuti genunix: [ID 936769 kern.info] fbt0 is /pseudo/fbt@0
Mar 26 12:16:08 tehuti pseudo: [ID 129642 kern.info] pseudo-device: sdt0
Mar 26 12:16:08 tehuti genunix: [ID 936769 kern.info] sdt0 is /pseudo/sdt@0
Mar 26 12:16:08 tehuti ipf: [ID 774698 kern.info] IP Filter: v4.0.2, running.
Mar 26 12:16:08 tehuti pseudo: [ID 129642 kern.info] pseudo-device: fasttrap0
Mar 26 12:16:08 tehuti genunix: [ID 936769 kern.info] fasttrap0 is /pseudo/fasttrap@0
Mar 26 12:19:58 tehuti pci_pci: [ID 370704 kern.info] PCI-device: pci1412,3630@c, oss0
Mar 26 12:19:58 tehuti genunix: [ID 936769 kern.info] oss0 is /pci@0,0/pci8086,244e@1e/pci1412,3630@c
Mar 26 12:20:03 tehuti unix: [ID 954099 kern.info] NOTICE: IRQ10 is being shared by drivers with different interrupt levels.
Mar 26 12:20:03 tehuti This may result in reduced system performance.
Mar 26 12:20:03 tehuti unix: [ID 954099 kern.info] NOTICE: IRQ10 is being shared by drivers with different interrupt levels.
Mar 26 12:20:03 tehuti This may result in reduced system performance.
Mar 26 12:32:10 tehuti pci_pci: [ID 370704 kern.info] PCI-device: pci1412,3630@c, oss0
Mar 26 12:32:10 tehuti genunix: [ID 936769 kern.info] oss0 is /pci@0,0/pci8086,244e@1e/pci1412,3630@c


I would greatly appreciate any help in getting this card to work on solaris 10 x86, so it can feel like a complete desktop to work and play with.

Thanks in advance
:shock:
atif63
New Member
 
Posts: 3
Joined: Sat Mar 26, 2005 4:49 pm

Postby srp » Sun Mar 27, 2005 7:05 pm

I wouldn't know how to even begin to debug this problem and I am sure the OSS guys will post a reply soon; but you could do one more thing here - check for a coredump and get a backtrace ..

Check for a coredump in /var/crash/`uname -i`/

mdb unix.%d vmcore.%d
> ::stack

should give you a bt

Atleast this should identify the oss code (if any) that is causing the crash
srp
New Member
 
Posts: 3
Joined: Wed Mar 23, 2005 7:20 pm

Postby dev » Mon Mar 28, 2005 10:58 pm

srp wrote:I wouldn't know how to even begin to debug this problem and I am sure the OSS guys will post a reply soon; but you could do one more thing here - check for a coredump and get a backtrace ..

Check for a coredump in /var/crash/`uname -i`/

mdb unix.%d vmcore.%d
> ::stack

should give you a bt

Atleast this should identify the oss code (if any) that is causing the crash



I don't know what's happening on your system but the MAudio Revolution 7.1 works fine on our Intel single processor systems with the latest OSS 3.99.2c

Perhaps you should check if the soundcard is seated properly in the slot.

OSS will detect the card as a Generic Envy24HT card but when you type
cat /dev/sndstat it will show the MAudio Revolution 7.1 device for the mixers.

Here's the output from sndstat on our machines:


*** Unregistered version ***

Build: 200503071813

Card config:
Intel ICH4 AC97 audio controller at 0xe080 irq 7
VIA ENVY24HT at 0xd080

Audio devices:
0: Intel ICH4 (24C5) (DUPLEX)
1: Intel ICH4 (24C5) (shadow) (DUPLEX)
2: Envy24HT front out
3: Envy24HT center/LFE out
4: Envy24HT surround out
5: Envy24HT rear out
6: Envy24HT S/PDIF out
7: Envy24HT recording
8: OSS Virtual Mixer v2.5 Playback CH #0 (GRC3)
9: OSS Virtual Mixer v2.5 Playback CH #1 (GRC3)
10: OSS Virtual Mixer v2.5 Playback CH #2 (GRC3)
11: OSS Virtual Mixer v2.5 Playback CH #3 (GRC3)
12: OSS Virtual Mixer v2.5 Playback CH #4 (GRC3)
13: OSS Virtual Mixer v2.5 Playback CH #5 (GRC3)
14: OSS Virtual Mixer v2.5 Playback CH #6 (GRC3)
15: OSS Virtual Mixer v2.5 Playback CH #7 (GRC3)

Synth devices:
0: OSS Virtual Synth v2.5

Midi devices:

Mixers:
0: AC97 Mixer (AD1980)
1: M Audio Revolution 7.1
2: Virtual Mixer

History:
dsp2: pid 771 OUT
dsp3: pid 771 OUT
dsp4: pid 771 OUT
dsp5: pid 771 OUT
dsp6: pid 771 OUT


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

M Audio rev 7.1

Postby atif63 » Thu Mar 31, 2005 2:51 pm

The card works fine under NLD9, Xandros 2.5, JDS2, and WinXP Prof..

Could this have to do with card trying to use irq10, irq 10 is being used by my NIC
interface.

The other thing i noticed is that the card's DriverID 1724 and VendorID 1412 are not in /etc/driver_aliases, this is all that's there (oss "pciclass,040100").
I'm going to try this entry oss0 "pci1724,1412" and see what happens.

This is what i get when i run:
mdb /var/crash/tehuti/unix.0 /var/crash/tehuti/vmcore.0
Loading modules: [ unix krtld genunix specfs dtrace ufs ip sctp usba uhci s1394 fcp fctl nca lofs nfs random sppp crypto ptm ipc logindmux fcip md cpc ]
> ::stack
sound_mixer_ioctl+0x44(ffffffff, 0, 20044d04, d4f3fdf8)
sparcaudio_get_prinfo+0x24d(0, d57cdc48, d84b4008, 1)
sparcaudio_ctl_ioctl+0x26b(0, d8b77250, 40844101, d84b4008)
oss_ioctl_sw+0x4fb(d, d8b77250, 40844101, d84b4008)
sound_ioctl+0x145()
cdev_ioctl+0x2b(1b0000d, 40844101, 8046f30, 102003, d4c5b760, d4f3ff80)
spec_ioctl+0x62()
fop_ioctl+0x1e(d7ca1540, 40844101, 8046f30, 102003, d4c5b760, d4f3ff80)
ioctl+0x199()
sys_sysenter+0xdc()

mdb /var/crash/tehuti/unix.5 /var/crash/tehuti/vmcore.5
Loading modules: [ unix krtld genunix specfs dtrace ufs ip sctp usba uhci s1394 fcp fctl nca lofs nfs sppp random crypto ptm ipc logindmux fcip md cpc ]
> ::stack
sound_mixer_ioctl+0x44(ffffffff, 0, 20044d04, d3f2ddf8)
sparcaudio_get_prinfo+0x24d(0, d5cf4a88, d5a93008, 1)
sparcaudio_ctl_ioctl+0x26b(0, d68be250, 40844101, d5a93008)
oss_ioctl_sw+0x4fb(d, d68be250, 40844101, d5a93008)
sound_ioctl+0x145()
cdev_ioctl+0x2b(1b0000d, 40844101, 80472d8, 100001, d56a67f8, d3f2df80)
spec_ioctl+0x62()
fop_ioctl+0x1e(d5b91d80, 40844101, 80472d8, 100001, d56a67f8, d3f2df80)
ioctl+0x199()
sys_sysenter+0xdc()

A bit clueless as to what this means, the sparcaudio stuff seems strange to me though.

dmesg also reports:
Mar 27 09:12:57 tehuti pci_pci: [ID 370704 kern.info] PCI-device: pci1412,3630@c, oss0
Mar 27 09:12:57 tehuti genunix: [ID 936769 kern.info] oss0 is /pci@0,0/pci8086,244e@1e/pci1412,3630@c
Mar 27 15:44:05 tehuti devfsadmd[487]: [ID 317882 daemon.error] build_devlink_list: readlink failed for /dev/audioctl00: Invalid argument
Mar 27 15:44:05 tehuti devfsadmd[487]: [ID 317882 daemon.error] build_devlink_list: readlink failed for /dev/dsp: Invalid argument

Any help appreciated.
Thanks
atif63
New Member
 
Posts: 3
Joined: Sat Mar 26, 2005 4:49 pm

Re: M Audio rev 7.1

Postby dev » Fri Apr 01, 2005 1:49 am

atif63 wrote:
Any help appreciated.
Thanks



Please try to run ossupdate and get the latest version of 3.99.2c - we've modified the OSS drivers to prevent it from crashing on SMP systems. Perhaps this version helps.



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

M Audio Rev 7.1

Postby atif63 » Sat Apr 02, 2005 4:13 pm

1. I'm not using an SMP system the below is what i'm using.
Apr 1 21:04:50 tehuti unix: [ID 950921 kern.info] cpu0: x86 (chipid 0x0 GenuineIntel family 15 model 2 step 7 clock 3074 MHz)
Apr 1 21:04:50 tehuti unix: [ID 950921 kern.info] cpu0: Intel(r) Pentium(r) 4 CPU 3.06GHz

2. This is the driver i'm using
./ossinfo
Version info: OSS/Solaris 3.99.2c (0x00040000)

Number of audio devices: 0
Number of MIDI devices: 0
Number of mixer devices: 0

MIDI devices (/dev/midi*)
Mixer devices (/dev/mixer*)
Audio devices (/dev/dsp*)

3. I've done ossupdate a couple of times and the below is all i get, and nothing happens
./ossupdate
Trying from localhost
Trying from www.4front-tech.com

4. This is what i got from the last 2 crashes.

mdb /var/crash/tehuti/unix.6 /var/crash/tehuti/vmcore.6
Loading modules: [ unix krtld genunix specfs dtrace ufs ip sctp usba uhci s1394 fctl nca lofs logindmux ptm fcip cpc sppp random nfs ipc ]
> ::stack
sound_mixer_ioctl+0x44(ffffffff, 0, 20044d04, d4078df8)
sparcaudio_get_prinfo+0x24d(0, d5558e08, d5f88008, 1)
sparcaudio_ctl_ioctl+0x1d2(0, d4a1b250, c0844102, d5f88008)
oss_ioctl_sw+0x4fb(d, d4a1b250, c0844102, d5f88008)
sound_ioctl+0x145()
cdev_ioctl+0x2b(1b0000d, c0844102, 8046618, 100003, d53ba880, d4078f80)
spec_ioctl+0x62()
fop_ioctl+0x1e(d4e14900, c0844102, 8046618, 100003, d53ba880, d4078f80)
ioctl+0x199()
sys_sysenter+0xdc()

mdb /var/crash/tehuti/unix.7 /var/crash/tehuti/vmcore.7
Loading modules: [ unix krtld genunix specfs dtrace ufs ip sctp usba uhci s1394 fctl nca lofs nfs random sppp ptm ipc logindmux fcip md cpc ]
> ::stack
sound_mixer_ioctl+0x44(ffffffff, 0, 20044d04, d5096df8)
sparcaudio_get_prinfo+0x24d(0, d56ad548, d6428008, 1)
sparcaudio_ctl_ioctl+0x26b(0, d5e5c250, 40844101, d6428008)
oss_ioctl_sw+0x4fb(d, d5e5c250, 40844101, d6428008)
sound_ioctl+0x145()
cdev_ioctl+0x2b(1b0000d, 40844101, 80471e8, 102003, d5635768, d5096f80)
spec_ioctl+0x62()
fop_ioctl+0x1e(d5d09780, 40844101, 80471e8, 102003, d5635768, d5096f80)
ioctl+0x199()
sys_sysenter+0xdc()
atif63
New Member
 
Posts: 3
Joined: Sat Mar 26, 2005 4:49 pm

Re: M Audio Rev 7.1

Postby dev » Sat Apr 02, 2005 8:20 pm

atif63 wrote:1. I'm not using an SMP system the below is what i'm using.
Apr 1 21:04:50 tehuti unix: [ID 950921 kern.info] cpu0: x86 (chipid 0x0 GenuineIntel family 15 model 2 step 7 clock 3074 MHz)
Apr 1 21:04:50 tehuti unix: [ID 950921 kern.info] cpu0: Intel(r) Pentium(r) 4 CPU 3.06GHz

2. This is the driver i'm using
./ossinfo
Version info: OSS/Solaris 3.99.2c (0x00040000)

Number of audio devices: 0
Number of MIDI devices: 0
Number of mixer devices: 0

MIDI devices (/dev/midi*)
Mixer devices (/dev/mixer*)
Audio devices (/dev/dsp*)

3. I've done ossupdate a couple of times and the below is all i get, and nothing happens
./ossupdate
Trying from localhost
Trying from www.4front-tech.com

4. This is what i got from the last 2 crashes.

mdb /var/crash/tehuti/unix.6 /var/crash/tehuti/vmcore.6
Loading modules: [ unix krtld genunix specfs dtrace ufs ip sctp usba uhci s1394 fctl nca lofs logindmux ptm fcip cpc sppp random nfs ipc ]
> ::stack
sound_mixer_ioctl+0x44(ffffffff, 0, 20044d04, d4078df8)
sparcaudio_get_prinfo+0x24d(0, d5558e08, d5f88008, 1)
sparcaudio_ctl_ioctl+0x1d2(0, d4a1b250, c0844102, d5f88008)
oss_ioctl_sw+0x4fb(d, d4a1b250, c0844102, d5f88008)
sound_ioctl+0x145()
cdev_ioctl+0x2b(1b0000d, c0844102, 8046618, 100003, d53ba880, d4078f80)
spec_ioctl+0x62()
fop_ioctl+0x1e(d4e14900, c0844102, 8046618, 100003, d53ba880, d4078f80)
ioctl+0x199()
sys_sysenter+0xdc()

mdb /var/crash/tehuti/unix.7 /var/crash/tehuti/vmcore.7
Loading modules: [ unix krtld genunix specfs dtrace ufs ip sctp usba uhci s1394 fctl nca lofs nfs random sppp ptm ipc logindmux fcip md cpc ]
> ::stack
sound_mixer_ioctl+0x44(ffffffff, 0, 20044d04, d5096df8)
sparcaudio_get_prinfo+0x24d(0, d56ad548, d6428008, 1)
sparcaudio_ctl_ioctl+0x26b(0, d5e5c250, 40844101, d6428008)
oss_ioctl_sw+0x4fb(d, d5e5c250, 40844101, d6428008)
sound_ioctl+0x145()
cdev_ioctl+0x2b(1b0000d, 40844101, 80471e8, 102003, d5635768, d5096f80)
spec_ioctl+0x62()
fop_ioctl+0x1e(d5d09780, 40844101, 80471e8, 102003, d5635768, d5096f80)
ioctl+0x199()
sys_sysenter+0xdc()


Log in using the CDE and see if now OSS crashes.

I suspect that there's a problem with some of the "devaudio" emulations because your device doesn't have "generic" mixers - one thing you can try is to look at the README.ConfigOptions file and enable the "envy24_realencoder_hack=1" in /usr/lib/oss/etc/options.cfg - alternatively, try this: rm /dev/mixer; ln -s /dev/mixer1 /dev/mixer and see if the crash still happens.



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

M Audio Rev 7.1

Postby Guest » Sun Apr 03, 2005 4:11 am

I tried all of the above and it still crashed in CDE

This is another message i'm noticing in 'dmesg'
Apr 2 20:56:17 tehuti savecore: [ID 570001 auth.error] reboot after panic: BAD TRAP: type=e (#pf Page fault) rp=d4226d8c addr=88 occurred in module "oss" due to a NULL pointer dereference
Apr 2 20:56:17 tehuti savecore: [ID 748169 auth.error] saving system crash dump in /var/crash/tehuti/*.8
Apr 2 20:56:33 tehuti oss: [ID 204793 kern.notice] The OSS core module is currently locked in memory.

When the computer boots the bios reports
"pci1724,1412" as the device and vendor ids

/usr/sbin/prtconf/ -D reports
pci1412,3630 as the device and vendor ids
Guest
 


Return to Solaris

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest