Difference between revisions of "Linux brand zone"

From KeegansWiki
Jump to navigation Jump to search
(Created page with 'Note: I had to run the upgrade patch bundle to get my x86 box up to 10/09 release. http://hub.opensolaris.org/bin/view/Community+Group+zones/brandz_linux_2_6 ==Zone Create Erro…')
 
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
  
 
Download the solaris 10 dvd. Install the packages SUNWlxr and SUNWlxu off of it. Then retry creating the zone.
 
Download the solaris 10 dvd. Install the packages SUNWlxr and SUNWlxu off of it. Then retry creating the zone.
 +
 +
==Zone Boot Error==
 +
<pre>unable to boot zone: Not enough space
 +
</pre>
 +
 +
Don't install a version of linux that has a 2.6 kernel. I got this error with centor 5. Switching to centos 3 and it worked fine.
  
  
Line 16: Line 22:
  
 
Run this: devfsadm -i lx_audio
 
Run this: devfsadm -i lx_audio
 +
 +
 +
==Zone SSH Error==
 +
<pre>
 +
ssh root@linux
 +
root@linux's password:
 +
PTY allocation request failed on channel 0
 +
</pre>
 +
 +
And in the /var/log/messages file:
 +
<pre>
 +
May 10 14:08:23 dstolweb01-php5c sshd[1155]: Accepted password for root from 10.68.1.137 port 43176 ssh2
 +
May 10 14:08:23 dstolweb01-php5c sshd[1155]: error: openpty: No such file or directory
 +
May 10 14:08:23 dstolweb01-php5c sshd[1155]: error: session_pty_req: session 0 alloc failed
 +
May 10 14:08:23 dstolweb01-php5c sshd(pam_unix)[1155]: session opened for user root by (uid=0)
 +
</pre>
 +
 +
This was terribly annoying. Check out [http://opensolaris.org/jive/thread.jspa?threadID=129110&tstart=0 this] thread at the opensolaris forums. After I installed the linux brand packages, a reboot was required. Rebooting the global reloaded the proper drivers, and this error went away.

Latest revision as of 10:03, 11 May 2010

Note: I had to run the upgrade patch bundle to get my x86 box up to 10/09 release.

http://hub.opensolaris.org/bin/view/Community+Group+zones/brandz_linux_2_6

Zone Create Error

myzone: unknown brand.
myzone: Invalid document

Download the solaris 10 dvd. Install the packages SUNWlxr and SUNWlxu off of it. Then retry creating the zone.

Zone Boot Error

unable to boot zone: Not enough space

Don't install a version of linux that has a 2.6 kernel. I got this error with centor 5. Switching to centos 3 and it worked fine.


Audio Issues

zoneadm: zone 'myzone': lx_support error: error accessing lx_audio device

Run this: devfsadm -i lx_audio


Zone SSH Error

ssh root@linux
root@linux's password:
PTY allocation request failed on channel 0

And in the /var/log/messages file:

May 10 14:08:23 dstolweb01-php5c sshd[1155]: Accepted password for root from 10.68.1.137 port 43176 ssh2
May 10 14:08:23 dstolweb01-php5c sshd[1155]: error: openpty: No such file or directory
May 10 14:08:23 dstolweb01-php5c sshd[1155]: error: session_pty_req: session 0 alloc failed
May 10 14:08:23 dstolweb01-php5c sshd(pam_unix)[1155]: session opened for user root by (uid=0)

This was terribly annoying. Check out this thread at the opensolaris forums. After I installed the linux brand packages, a reboot was required. Rebooting the global reloaded the proper drivers, and this error went away.