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
Log::Any::Adapter::Development(3pm)			User Contributed Perl Documentation		       Log::Any::Adapter::Development(3pm)

NAME
Log::Any::Adapter::Development -- Manual for developing new Log::Any adapters VERSION
version 0.07 SYNOPSIS
The adapter module: package Log::Any::Adapter::YAL; use strict; use warnings; use Log::Any::Adapter::Util qw(make_method); use base qw(Log::Any::Adapter::Base); # Optionally initialize object # sub init { my ($self) = @_; $self->{attr} = ...; } # Create logging methods: debug, info, etc. # foreach my $method ( Log::Any->logging_methods() ) { make_method($method, sub { ... }); } # Create detection methods: is_debug, is_info, etc. # foreach my $method ( Log::Any->detection_methods() ) { make_method($method, sub { ... }); } and the application: Log::Any->set_adapter('YAL'); DESCRIPTION
This document describes how to implement a new Log::Any adapter. The easiest way to start is to look at the source of existing adapters, such as Log::Any::Adapter::Log4perl and Log::Any::Adapter::Dispatch. NAMING
If you are going to publicly release your adapter, call it 'Log::Any::Adapter::something' so that users can use it with Log::Any->set_adapter(I<something>); If it's an internal driver, you can call it whatever you like and use it like Log::Any->set_adapter('+My::Log::Adapter'); BASE CLASS
All adapters must directly or indirectly inherit from Log::Any::Adapter::Base. METHODS
Constructor The constructor ("new") is provided by Log::Any::Adapter::Base. It will: o place any adapter arguments into a hash, along with the category o bless the hash into your subclass o call "init" which may be optionally provided by your subclass At this point, overriding the default constructor is not supported. Hopefully it will not be needed. The constructor is called whenever a log object is requested. e.g. If the application initializes Log::Any like so: Log::Any->set_adapter('Log::YAL', yal_object => $yal, depth => 3); and then a class requests a logger like so: package Foo; use Log::Any qw($log); Then $log will be populated with the return value of: Log::Any::Adapter::Yal->new(yal_object => $yal, depth => 3, category => 'Foo'); This is memoized, so if the same category should be requested again (e.g. through a separate "get_logger" call, the same object will be returned. Therefore, you should try to avoid anything non-deterministic in your "init" function. Required methods The following methods have no default implementation, and MUST be defined by your subclass: debug ($msg) info ($msg) notice ($msg) warning ($msg) error ($msg) critical ($msg) alert ($msg) emergency ($msg) These methods log a message at the specified level. To help generate these methods programmatically, you can get a list of the method names with Log::Any->logging_methods is_debug () is_info () is_notice () is_warning () is_error () is_critical () is_alert () is_emergency () These methods return a boolean indicating whether the specified level is active. To help generate these methods programmatically, you can get a list of the method names with Log::Any->detection_methods Optional methods The following methods have no default implementation but MAY be provided by your subclass: init () This is called after the adapter object is created and blessed into your class. It will be a hash containing the parameters that were passed to new(). Perform any necessary validation or initialization here. Support methods The following methods are useful for defining adapters: delegate_method_to_slot ($slot, $method, $adapter_method) Handle the specified $method by calling $adapter_method on the object contained in $self->{$slot}. See Log::Any::Adapter::Dispatch and Log::Any::Adapter::Log4perl for examples of usage. Log::Any->logging_methods Returns a list of logging methods: debug, info, etc. Log::Any->detection_methods Returns a list of detection methods: is_debug, is_info, etc. Log::Any->logging_and_detection_methods Returns a combined list of logging and detection methods. SEE ALSO
Log::Any COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jonathan Swartz. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-02-22 Log::Any::Adapter::Development(3pm)
All times are GMT -4. The time now is 04:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy