Sponsored Content
Full Discussion: Dedicate graphics adapter ?
Operating Systems AIX Dedicate graphics adapter ? Post 302527794 by vilius on Sunday 5th of June 2011 12:49:31 PM
Old 06-05-2011
Dedicate graphics adapter ?

Hello,

Runing VIO and couple lpars on POWER blade.
I want to dedicate graphics adapter(ati0) to one lpar. Is that possible ?

I tried to do that using IVM (I/O Adapter Management->View/Modify Physical Adapters->Modify partition assignment):
Code:
Failed to remove adapter U78A6.001.WIH4088-P2-C8 from it's current partition due to the following error:

[VIOSE0105FF05-0217] Command /usr/ios/lpm/sbin/lpmdrmgr rmdev -R -d -l pci2 returned 1.  Additional messages: /usr/ios/lpm/sbin/lpmdrmgr rmdev -R -d -l pci2
Method error (/etc/methods/ucfgdevice):
   0514-062 Cannot perform the requested function because the
            specified device is busy.
 
Command /usr/ios/lpm/sbin/lpmdrmgr drmgr -c phb -s 'PHB 514' -r returned 1.  Additional messages: /usr/ios/lpm/sbin/lpmdrmgr drmgr -c phb -s 'PHB 514' -r

0931-029 The specified slot contains a device or devices that are currently
    configured. Unconfigure the following device or devices with the rmdev
    command and try again.

ati0

Then I tried to do it manually:
Code:
$ rmdev -dev ati0 -ucfg
Some error messages may contain invalid information
for the Virtual I/O Server environment.

Method error (/etc/methods/ucfgdevice):
        0514-062 Cannot perform the requested function because the
                 specified device is busy.

Then I saw this local display console device and getty running on it:
Code:
$ lsdev|grep lft
lft0             Available   Low Function Terminal Subsystem
$
$ ps -ef|grep lft
root 5634273       1   0 18:11:38   lft0  0:00 /usr/sbin/getty /dev/lft0

So I disabled that process using /etc/inittab and tried again:
Code:
$ ps -ef|grep lft
$
$ rmdev -dev lft0 -ucfg
Method error (/etc/methods/ucfglft):
        0514-062 Cannot perform the requested function because the
                 specified device is busy.
$
$  rmdev -dev ati0 -ucfg
Method error (/etc/methods/ucfgdevice):
        0514-062 Cannot perform the requested function because the
                 specified device is busy.

I see no more related child devices.
What I'm doing wrong ?

thanks
Vilius
 

9 More Discussions You Might Find Interesting

1. IP Networking

LAN Adapter

Im newest in unix, Please, give me solution for installing lan adapter if driver not found in the list of ethernet drivers ihave unix driver in a dos diskete please give me the other solution and tell me where the domain of unix class online, so ican read from it. Thank's very much (3 Replies)
Discussion started by: ade_muhdiat
3 Replies

2. Solaris

Which SCSI Adapter?

Hi. I need to find a simple SCSI adapter card for a Sun Ultra 5 workstation. I don't need the type w/ ethernet attached (e.g. X1032) as I already have ethernet onboard & they are more spendy. I know Adaptec is out, but what unit would work? I am attaching an external SCSI tape unit to this... (4 Replies)
Discussion started by: Plain Person
4 Replies

3. AIX

1362-020 Cannot locate required graphics adapter software.

I am running a AIX 4.3.3 and I think the problem lies in my graphics settings. i am getting the following error when tring to run: xinit usr/dt/bin/Xsession 1362-020 Cannot locate required graphics adapter software. run 'smit cfgmgr' to install/configure devices added after IPL Does... (3 Replies)
Discussion started by: jshaulis
3 Replies

4. HP-UX

what is an adapter?

Hi , Hi what is an adapter?what is its use ? How to log into a tibco server from unix home directory. (1 Reply)
Discussion started by: megh
1 Replies

5. Linux

Apply disk quota to account(dedicate 3 GB to account).

Hi , I am faceing lot of problem due to "disk space is not enough". senerio is like as, In system has 5 account. a,b,c,d,e say account c if very critical. Due to other user's data, user 'c' is faceing disk space issue. I want to dedicate 3 GB for user 'c'. No user... (1 Reply)
Discussion started by: ashokd009
1 Replies

6. Red Hat

Ethernet Adapter not detected.

Hi, I have installed Oracle Enterprise Linux 5 in my PC. After the installation the Ethernet Card is not got detected. But I could able to get the details using the command lspci -a: 01:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0). But I could... (4 Replies)
Discussion started by: chidhu.anu
4 Replies

7. Cybersecurity

Dedicate browser for secure online banking?

I currently keep a hosts file to make my online banking more secure. But that won’t help in the event of a DNS-cache-poisoning zero-day attack. Is the following solution practical? Dedicate one browser for secure online banking, and dedicate a different browser for normal browsing of the... (4 Replies)
Discussion started by: wolfv
4 Replies

8. OS X (Apple)

[Solved] links2 --enable-graphics from source, configure error: no graphics driver found.

Howdy I am trying to install links2 with graphics support on snow leopard 10.6.8 (xcode installed). I have had the program running last year, also installed from source - but then I had installed some image libraries with mac ports and fink - cannot reproduce that setup. Plus I would like to not... (6 Replies)
Discussion started by: butterbaerchen
6 Replies

9. AIX

Misconfiguration detected Adapter interface name en 3 Adapter offset 0

Hi, We had a hardware problem with an IBM System p5 server, with AIX 5.2 We restore from a tape the last backup we had, but the server does not boot up as expected. The server try to mount some directories from a storage, but could not comunicate with them, we check the FC and everything is... (12 Replies)
Discussion started by: trevian3969
12 Replies
Tk_GetGC(3)						       Tk Library Procedures						       Tk_GetGC(3)

__________________________________________________________________________________________________________________________________________________

NAME
Tk_GetGC, Tk_FreeGC - maintain database of read-only graphics contexts SYNOPSIS
#include <tk.h> GC Tk_GetGC(tkwin, valueMask, valuePtr) Tk_FreeGC(display, gc) ARGUMENTS
Tk_Window tkwin (in) Token for window in which the graphics context will be used. unsigned long valueMask (in) Mask of bits (such as GCForeground or GCStipple) indicating which fields of *valuePtr are valid. XGCValues *valuePtr (in) Pointer to structure describing the desired values for the graphics context. Display *display (in) Display for which gc was allocated. GC gc (in) X identifier for graphics context that is no longer needed. Must have been allocated by Tk_GetGC. _________________________________________________________________ DESCRIPTION
Tk_GetGC and Tk_FreeGC manage a collection of graphics contexts being used by an application. The procedures allow graphics contexts to be shared, thereby avoiding the server overhead that would be incurred if a separate GC were created for each use. Tk_GetGC takes arguments describing the desired graphics context and returns an X identifier for a GC that fits the description. The graphics context that is returned will have default values in all of the fields not specified explicitly by valueMask and valuePtr. Tk_GetGC maintains a database of all the graphics contexts it has created. Whenever possible, a call to Tk_GetGC will return an existing graphics context rather than creating a new one. This approach can substantially reduce server overhead, so Tk_GetGC should generally be used in preference to the Xlib procedure XCreateGC, which creates a new graphics context on each call. Since the return values of Tk_GetGC are shared, callers should never modify the graphics contexts returned by Tk_GetGC. If a graphics con- text must be modified dynamically, then it should be created by calling XCreateGC instead of Tk_GetGC. When a graphics context is no longer needed, Tk_FreeGC should be called to release it. There should be exactly one call to Tk_FreeGC for each call to Tk_GetGC. When a graphics context is no longer in use anywhere (i.e. it has been freed as many times as it has been gotten) Tk_FreeGC will release it to the X server and delete it from the database. KEYWORDS
graphics context Tk Tk_GetGC(3)
All times are GMT -4. The time now is 09:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy