Un-installed OSS, now opensolaris audio not working

OSS specific Solaris discussion (x86/SPARC)

Moderators: cesium, dev, kodachi, hannu

Un-installed OSS, now opensolaris audio not working

Postby cjpembo » Thu Oct 08, 2009 3:32 am

Installed opensolaris 2009.06 on my laptop.
Native audio worked fine out of the box... but I wanted to see if oss4 performed better.
(Didn't know about project Boomer at this point... could have saved me some trouble).

Installed oss4: pkgadd -d oss-solaris-v4.0-123-i386.pkg
Rebooted and ran osstest: sound worked fine.

Decided to un-install oss: pkgrm oss (reboot).

The end of the un-install procedure produced the following:

    ## Executing postremove script.
    SUNWaudd
    sh: line 1: /var/sadm/pkg/SUNWaudd/save/pspool/SUNWaudd/install/postinstall: not found
    SUNWvia823x
    sh: line 1: /var/sadm/pkg/SUNWvia823x/save/pspool/SUNWvia823x/install/postinstall: not found
    SUNWaudiohd
    sh: line 1: /var/sadm/pkg/SUNWaudiohd/save/pspool/SUNWaudiohd/install/postinstall: not found
    SUNWad810
    sh: line 1: /var/sadm/pkg/SUNWad810/save/pspool/SUNWad810/install/postinstall: not found
    SUNWadixp
    sh: line 1: /var/sadm/pkg/SUNWadixp/save/pspool/SUNWadixp/install/postinstall: not found
    SUNWusb
    sh: line 1: /var/sadm/pkg/SUNWusb/save/pspool/SUNWusb/install/postinstall: not found
    ## Updating system information.

    Removal of <oss> was successful.

I suppose it should say: Removal of <oss> was successful: sorry about the collateral damage!

Upon reboot, no native opensolaris sound drivers get loaded.
I need the audiohd driver, which got borked by oss4.

Any comments? (Other than why did I mess it up to begin with :oops: )

Perhaps the oss4 un-install procedure is no longer sufficient with Boomer?

I'm going to poke around and see if I can reinstall the native drivers manually...

Thanks,

Chris
cjpembo
New Member
 
Posts: 6
Joined: Thu Jun 05, 2008 2:53 pm

Re: Un-installed OSS, now opensolaris audio not working

Postby rasta » Wed Oct 21, 2009 2:51 pm

Using Solaris 10 x86 (u7 and u8), I have had problems removing oss 4.1 and 4.2. I could not pkgrm oss 4.1 without the command pkgrm -A. I do not know if this harmed the system in some way. I then installed 4.2, but Solaris JDS does not recognize the drivers, so I thought I would remove and reinstall it. When I attempted to remove oss 4.2, this is what I got, the same as when I tried to remove oss 4.1:

> pkgrm oss

The following package is currently installed:
oss Open Sound System
(i386) v4.2-2000

Do you want to remove this package? [y,n,?,q] y

## Removing installed package instance <oss>

This package contains scripts which will be executed with super-user
permission during the process of removing this package.

Do you want to continue with the removal of this package [y,n,?,q] y
## Verifying package <oss> dependencies in global zone
## Processing package information.
## Executing preremove script.
## Removing pathnames in class <drvcfg>
ERROR: garbled entry
pathname: Unknown
problem: incomplete entry
not removing /kernel/drv/sndstat.conf
ERROR: garbled entry
pathname: Unknown
problem: incomplete entry
not removing /kernel/drv/oss_trident.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_solo.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_sbxfi.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_sbpci.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_sblive.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_sadasupport.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_midimix.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_midiloop.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_madi.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_imux.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_ich.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_hdsp.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_hdaudio.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_geode.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_fmedia.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_envy24ht.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_envy24.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_emu10k1x.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_digi96.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_cs461x.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_cs4281.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_cmpci.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_cmi878x.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_audiopci.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_audioloop.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_audigyls.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_atiaudio.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_ali5455.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/mixer.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/midi_stubs.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/midi.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/lynxtwo.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/lynxone.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/audio.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/ac97.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /etc/oss/userdefs
## Removing pathnames in class <none>
/usr/sbin/vmixctl
/usr/sbin/soundon
/usr/sbin/soundoff
/usr/sbin/savemixer
/usr/sbin/ossupdate
/usr/sbin/ossmixd
/usr/sbin/osslic
/usr/sbin/ossdevlinks
/usr/sbin/ossdetect
/usr/man/man7d/sndstat.7d
/usr/man/man7d/osscore.7d
/usr/man/man7d/oss_ymf7xx.7d
/usr/man/man7d/oss_via97.7d
/usr/man/man7d/oss_via823x.7d
/usr/man/man7d/oss_userdev.7d
/usr/man/man7d/oss_usb.7d
/usr/man/man7d/oss_trident.7d
/usr/man/man7d/oss_solo.7d
/usr/man/man7d/oss_sbxfi.7d
/usr/man/man7d/oss_sbpci.7d
/usr/man/man7d/oss_sblive.7d
/usr/man/man7d/oss_sadasupport.7d
/usr/man/man7d/oss_midimix.7d
/usr/man/man7d/oss_midiloop.7d
/usr/man/man7d/oss_madi.7d
/usr/man/man7d/oss_imux.7d
/usr/man/man7d/oss_ich.7d
/usr/man/man7d/oss_hdaudio.7d
/usr/man/man7d/oss_geode.7d
/usr/man/man7d/oss_fmedia.7d
/usr/man/man7d/oss_envy24ht.7d
/usr/man/man7d/oss_envy24.7d
/usr/man/man7d/oss_emu10k1x.7d
/usr/man/man7d/oss_digi96.7d
/usr/man/man7d/oss_cs461x.7d
/usr/man/man7d/oss_cs4281.7d
/usr/man/man7d/oss_cmpci.7d
/usr/man/man7d/oss_cmi878x.7d
/usr/man/man7d/oss_audiopci.7d
/usr/man/man7d/oss_audioloop.7d
/usr/man/man7d/oss_audigyls.7d
/usr/man/man7d/oss_atiaudio.7d
/usr/man/man7d/oss_ali5455.7d
/usr/man/man7d/mixer.7d
/usr/man/man7d/midi.7d
/usr/man/man7d/lynxtwo.7d
/usr/man/man7d/lynxone.7d
/usr/man/man7d/dsp.7d
/usr/man/man1m/vmixctl.1m
/usr/man/man1m/soundon.1m
/usr/man/man1m/soundoff.1m
/usr/man/man1m/savemixer.1m
/usr/man/man1m/ossdevlinks.1m
/usr/man/man1m/ossdetect.1m
/usr/man/man1/ossxmix.1
/usr/man/man1/osstest.1
/usr/man/man1/ossrecord.1
/usr/man/man1/ossplay.1
/usr/man/man1/ossphone.1
/usr/man/man1/ossmix.1
/usr/man/man1/ossinfo.1
/usr/lib/oss/lib/flashsupport.c
/usr/lib/oss/README
/usr/include/sys/soundcard.h
/usr/include/oss/oss_userdev_exports.h
/usr/bin/ossxmix
/usr/bin/osstest
/usr/bin/ossrecord
/usr/bin/ossplay
/usr/bin/ossphone
/usr/bin/ossmix
/usr/bin/ossinfo
/kernel/misc/osscommon
/kernel/misc/amd64/osscommon
/kernel/drv/osscore
/kernel/drv/oss_ymf7xx
/kernel/drv/oss_via97
/kernel/drv/oss_via823x
/kernel/drv/oss_userdev
/kernel/drv/oss_usb
/kernel/drv/oss_trident
/kernel/drv/oss_solo
/kernel/drv/oss_sbxfi
/kernel/drv/oss_sbpci
/kernel/drv/oss_sblive
/kernel/drv/oss_sadasupport
/kernel/drv/oss_midimix
/kernel/drv/oss_midiloop
/kernel/drv/oss_madi
/kernel/drv/oss_imux
/kernel/drv/oss_ich
/kernel/drv/oss_hdaudio
/kernel/drv/oss_geode
/kernel/drv/oss_fmedia
/kernel/drv/oss_envy24ht
/kernel/drv/oss_envy24
/kernel/drv/oss_emu10k1x
/kernel/drv/oss_digi96
/kernel/drv/oss_cs461x
/kernel/drv/oss_cs4281
/kernel/drv/oss_cmpci
/kernel/drv/oss_cmi878x
/kernel/drv/oss_audiopci
/kernel/drv/oss_audioloop
/kernel/drv/oss_audigyls
/kernel/drv/oss_atiaudio
/kernel/drv/oss_ali5455
/kernel/drv/lynxtwo
/kernel/drv/amd64/osscore
/kernel/drv/amd64/oss_ymf7xx
/kernel/drv/amd64/oss_via97
/kernel/drv/amd64/oss_via823x
/kernel/drv/amd64/oss_userdev
/kernel/drv/amd64/oss_usb
/kernel/drv/amd64/oss_trident
/kernel/drv/amd64/oss_solo
/kernel/drv/amd64/oss_sbxfi
/kernel/drv/amd64/oss_sbpci
/kernel/drv/amd64/oss_sblive
/kernel/drv/amd64/oss_sadasupport
/kernel/drv/amd64/oss_midimix
/kernel/drv/amd64/oss_midiloop
/kernel/drv/amd64/oss_madi
/kernel/drv/amd64/oss_imux
/kernel/drv/amd64/oss_ich
/kernel/drv/amd64/oss_hdaudio
/kernel/drv/amd64/oss_geode
/kernel/drv/amd64/oss_fmedia
/kernel/drv/amd64/oss_envy24ht
/kernel/drv/amd64/oss_envy24
/kernel/drv/amd64/oss_emu10k1x
/kernel/drv/amd64/oss_digi96
/kernel/drv/amd64/oss_cs461x
/kernel/drv/amd64/oss_cs4281
/kernel/drv/amd64/oss_cmpci
/kernel/drv/amd64/oss_cmi878x
/kernel/drv/amd64/oss_audiopci
/kernel/drv/amd64/oss_audioloop
/kernel/drv/amd64/oss_audigyls
/kernel/drv/amd64/oss_atiaudio
/kernel/drv/amd64/oss_ali5455
/kernel/drv/amd64/lynxtwo
/etc/oss/version.dat
/etc/oss/devices.list
/etc/init.d/oss
## Executing postremove script.
SUNWaudd
SUNWvia823x
SUNWaudiohd
SUNWad810
SUNWadixp
SUNWusb
## Updating system information.
pkgrm: ERROR: cannot enumerate database entries

Removal of <oss> failed (internal error).

Please see this thread for the output of ossinfo:

viewtopic.php?f=4&t=3292

Please help. Should I run pkgrm -A again?
rasta
Member
 
Posts: 33
Joined: Mon Oct 19, 2009 9:17 pm

Re: Un-installed OSS, now opensolaris audio not working

Postby rasta » Wed Oct 21, 2009 2:56 pm

Here is the result of running pkgrm -A:

> pkgrm -A oss

The following package is currently installed:
oss Open Sound System
(i386) v4.2-2000

Do you want to remove this package? [y,n,?,q] y

## Removing installed package instance <oss>
(A previous attempt may have been unsuccessful.)

This package contains scripts which will be executed with super-user
permission during the process of removing this package.

Do you want to continue with the removal of this package [y,n,?,q] y
## Verifying package <oss> dependencies in global zone
## Processing package information.
## Executing preremove script.
cp: cannot access /etc/oss/installed_drivers
## Removing pathnames in class <drvcfg>
ERROR: garbled entry
pathname: ag
problem: incomplete entry
not removing /kernel/drv/oss_envy24ht.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_envy24.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_emu10k1x.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_digi96.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_cs461x.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_cs4281.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_cmpci.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_cmi878x.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_audiopci.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_audioloop.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_audigyls.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_atiaudio.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/oss_ali5455.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/mixer.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/midi_stubs.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/midi.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/lynxtwo.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/lynxone.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/audio.conf
ERROR: garbled entry
pathname: Unknown
problem: unknown ftype
not removing /kernel/drv/ac97.conf
## Removing pathnames in class <none>
## Executing postremove script.
SUNWaudd
SUNWvia823x
SUNWaudiohd
SUNWad810
SUNWadixp
SUNWusb
## Updating system information.
WARNING: unable to commit contents database update

Removal of <oss> failed (internal error).

What should I do? Things do not look good.
rasta
Member
 
Posts: 33
Joined: Mon Oct 19, 2009 9:17 pm

Re: Un-installed OSS, now opensolaris audio not working

Postby rasta » Wed Oct 21, 2009 3:00 pm

I ran pkgrm oss again, and it seems to have worked:

> pkgrm oss

The following package is currently installed:
oss Open Sound System
(i386) v4.2-2000

Do you want to remove this package? [y,n,?,q] y

## Removing installed package instance <oss>
(A previous attempt may have been unsuccessful.)

This package contains scripts which will be executed with super-user
permission during the process of removing this package.

Do you want to continue with the removal of this package [y,n,?,q] y
## Verifying package <oss> dependencies in global zone
## Processing package information.
## Executing preremove script.
cp: cannot access /etc/oss/installed_drivers
## Removing pathnames in class <drvcfg>
## Removing pathnames in class <none>
## Executing postremove script.
SUNWaudd
SUNWvia823x
SUNWaudiohd
SUNWad810
SUNWadixp
SUNWusb
## Updating system information.

Removal of <oss> was successful.

I'm doing a reconfigure reboot now. Does anyone have any comments or suggestions?
rasta
Member
 
Posts: 33
Joined: Mon Oct 19, 2009 9:17 pm


Return to Solaris

Who is online

Users browsing this forum: No registered users and 0 guests

cron