View Single Post
Old May 24th 2011, 05:43 AM   #43 (permalink)
gillianreynolds
Registered User
 
gillianreynolds's Avatar
 
Join Date: May 2011
Posts: 1
the error below indicates that the system can't access the
lx_audio device. the most common reason for this would be a
missing entry for lx_audio in /etc/name_to_major.

you should probably verify that /etc/name_to_major and /etc/minor_perm
have all the proper driver entries. you can find more information
on this at:
BrandZ Installation (Community Group brandz.install) - XWiki

in case your interested in some more background, the lx_audio driver
is the component that provides audio support in the linux zone. if
audio is enabled for a zone and this device is not accessible then
the zone will fail to boot.

if audio is not enabled for a zone then there will be no problem
with booting the zone. but when halting a zone we always need to
access the audio device even if it wasn't enabled for the zone.
the reason is that zonecfg could be run while a zone is booted
and audio support could be removed from the zone configuration
file. so during zone shutdown we can't trust the configuration
file to tell us if audio was enabled to determine if we should
disable it. hence we always just try to access the audio device
tear it down anyway during zone shutdown.

ed

On Sat, Feb 18, 2006 at 12:24:06AM -0800, Peter Lees wrote:
> i didn't configure an audio device for the lx zone - it seems that's a no-no
> now i can't halt or reboot the zone...
>
> ----
>
> # zoneadm -z nwnzone halt
> zoneadm: zone 'nwnzone': '/usr/lib/brand/lx/lx_halt nwnzone' failed unexpectedlyzoneadm: zone 'nwnzone': unable to destroy zone
> # /usr/lib/brand/lx/lx_audio_cfg halt nwnzone
> lx_audio_cfg error: error accessing lx_audio device
> # echo $?
> 255
> # tail /usr/lib/brand/lx/lx_halt
>
> #
> # unconfigure the virtual audio device
> #
> /usr/lib/brand/lx/lx_audio_cfg halt $ZONENAME
> rv=$?; [ $rv != 0 ] && exit $rv
>
> exit 0
>
> ----
> This message posted from opensolaris.org
> _______________________________________________
Thanks
lisbon hotels

Last edited by gillianreynolds; May 31st 2011 at 03:51 AM.
gillianreynolds is offline   Reply With Quote