Generics usage
Can anyone tell me the difference between :
public <T extends MyClass> T getMyClass() {}and
public Class<? extends MyClass> getMyClass() {} Im trying to use generics and I'm having a problem when I try to use
the subclass of MyClass that is is returned by my
generified method getMyClass() . The specific problem is
that I get compile Time errors when I try to cast to the correct sub-type
of MyClass that is being used. I'm not sure if this is even possible
and the combination of the two different constructs above(which seem
synonomous to me) are both confusing me.
I guess my question is, more or less, if I have
private Class<? extends MyClass> myObj;
public Class<? extends MyClass> getMyObj() {return myObj}does this force me to use the returned object as if it were an instance of MyClass? Do I have the wrong idea on the uses of generics?
Thanks for any help
<T extends MyClass>
You can use T in the class/method definition.
You can't use a ?.
Try and study this code -- compiles and runs just fine.
public class GeneTest{
private Class<? extends MyClass> myObj;
public GeneTest(){
myObj = MyClass.class;
public Class<? extends MyClass> getMyObj(){
return myObj;
public static void main(String[] args){
GeneTest gt = new GeneTest();
System.out.println(gt.getMyObj());
class MyClass{
}
Similar Messages
-
Generics usage with combined enum & interface class
I would like to use an enum to store constants for a drop down list, and be able to reuse the structure in a generics method. What I have done is created a interface with basic functionality, and then created an Enum class that implements my interface. Now that I have a single class, I want to pass the resulting class to a static helper function that will have access to the interface functions, and still have the ability to use the benefits of the enum (foreach loops & access to enum constants).
Is there a way to do this with Generics? I know that this is not right, but maybe it will give an idea of what I am trying to do: <? extends <Enum extends Menu_Interface>>.
public interface Selection_List {
public String getName();
public void setName( String name );
public String getValue();
public void setValue( String value );
public String getGroup();
public void setGroup( String group );
boolean isSelected();
public enum Tool_Types implements Selection_List
SAMPLE_ONE( "name1", "value1" ),
SAMPLE_TWO( "name2", "value2" );
// ... implementation of interface functions
public class FormGenerator
public static <T extends <Enum extends Selection_List>>
String doCreateDropDown( T selectionList )
// ... implementation of function
};You surely can. The following is an example on implementing Runnable:
public class EnumWithInterface {
enum Days implements Runnable {
MON, TUE, WED, THU, FRI, SAT, SUN;
@Override
public void run() {
System.out.println("Running " + this);
static <E extends Enum<E> & Runnable> void runAll(Class<E> runnableEnum) {
for (E e : runnableEnum.getEnumConstants()) {
e.run();
public static void main(String[] args) {
runAll(Days.class);
} -
Sophisticated generics usage?
Hi!
I need help and I am not very much into generics.
With eclipse 3.2.1 I get the following error:
Bound mismatch: The type ? super E is not a valid substitute for the bounded parameter <E extends ICDE<? extends ICDEHome<E>>> of the type ICDEHome<E>
This class forces the error:
abstract class MyClass<E extends EntityClass<? super H>, H extends HomeClass<? super E>> extends ImplClass<E,H,InterfaceClass> implements OneMoreInterfaceClass (this is not my code I took it over)
What really makes me wonder is that NetBeans 5 does not complain and compiles the code. Is it valid code? Why is eclipse choking on it?
RegardsI get the following errors in eclipse 3.2.1
Bound mismatch: The type ? super E is not a valid substitute for the bounded parameter <E extends Class_01<? extends Class_02<E>>> of the type Class_02<E>
Bound mismatch: The type ? super H is not a valid substitute for the bounded parameter <H extends Class_02<? extends Class_01<H>>> of the type Class_01<H>
abstract class MyClass<E extends Class_01<? super H>, H
extends Class_02<? super E>> extends Class_03<E,H,Class_04> implements Class_05{
public abstract class Class_03<E extends Class_01<? super H>, H extends Class_02<? super E>, P extends Class_06<? extends Class_07>>
extends Class_08<E,H,P> implements Class_05{
public abstract class Class_08<E extends Class_09<? super H>, H extends Class_10<? super E>, P extends Class_06<? extends Class_07>>
extends Class_11<E,H,Class_12> implements Class_05{
public abstract class Class_11<E extends Class_13<? super H,O>, H extends Class_14<? super E,O>, O>
extends Class_15<E,H,O> implements Class_05{
public abstract class Class_15 <E extends Class_13<? super H,O>, H extends Class_14<? super E,O>, O> extends Class_16{
public abstract class Class_16{
public interface Class_01<H extends Class_02<? extends Class_01>> extends Class_09<H>{
public interface Class_02<E extends Class_01<? extends Class_02>> extends Class_10<E>{
public interface Class_10<E extends Class_09<? extends Class_10>> extends Class_14<E,Class_12>{
public interface Class_09<H extends Class_10<? extends Class_09>> extends Class_13<H,Class_12>, Class_17{
public interface Class_13<H extends Class_14<?, O>, O>{
public interface Class_14<E extends Class_13<?, O>, O>{
public final class Class_12{
public interface Class_17{
public interface Class_04 extends Class_06<Class_18>, Class_19{
public interface Class_18 extends Class_07<Class_04>{
public interface Class_19{
public interface Class_05{
}I hope I got all the classes involved ...
Message was edited by: JvW -
Hi, I've searched for threads on this, but nothing came up with my particular situation. First, I'll state my specs
iMac 24" (aluminum)
3.06GHz Core2 Duo
4GB RAM
500GB HDD
So, after much procrastinating, I decided this weekend that I would organize my photos better, and move my growing Aperture library off my internal drive in hopes of speeding up my recently lagging computer. I migrated from iPhoto to Aperture back in August of 2008 and have always been meaning to make a vault of all my old work and just store that offsite somewhere so I don't have to worry about the disk space or losing the files. But I never got around to it.
So now my Aperture library is 35,000 photos large, and weighs in at 302GB.
The first thing I tried to do (before I even knew Aperture was going to start crashing) was to move the Aperture Library file from its default location in the users/pictures folder to one of my external 1.5TB drives. However, the transfer would fail around 6GB in and say "some files could not be read or written." I tried several times to no avail.
Giving up that route, I read around online and decided that I could just make a vault of my entire library on the external drive, then create a new library there, and restore from the vault.
So I open Aperture to try and make a vault. It "unexpectedly quits" right when the interface loads. I tried again and got as far as naming the new vault, then it crashed again. Now it crashes even if I am trying to just view my images. I went on a short roadtrip with friends and got back last night, and it crashed halfway through the import of 400 images, but finished importing when I reopened it. I don't know if that's what started off the whole thing.
Anyway, I noticed that I only had 4(!)GB of space left on my internal drive, so I did some quick cleaning and rearranging to external drives and freed up about 45GB of space. I figured that would give the app plenty of room to breathe.
Nope. Still crashes.
Rebooted several times, no help.
Reset PRAM several times, nada.
I am in real trouble here. I'm a photography student with three studio classes this quarter and I can't have this happening. I paid top dollar for this machine less than six months ago and now it's puttering along like it's 2 or 3 years old. When Aperture is open (when it would still work) the rest of the computer would just slow to a crawl. I have 4GB of RAM, why doesn't Aperture use more? I was reading that it would only use 1 or 2GB max. Why?
But that part is not important.
I need to get this fixed, so ANY help is GREATLY appreciated! I have the crash report saved from the last crash, so if anyone wants to see any part of it, let me know. It told me which thread caused the crash but it looked like generic usage stuff, nothing special (I was just trying to look at my trip photos).
Thanks in advance,
Screaming in Savannah
(Chris)This is awkward. Right... I have used Aperture since it came out.
In fact, after all these failures, you should try the rebuilding your library first.
Hold down Option and Command when launching Aperture, though you couldn't back up your files... which was recommended by Apple before you rebuild it.
It should correct and repair any broken links or permissions. See if it works.
After, you can simply COPY and not MOVE the library to the external HD. Do you use Firewire? It's much better and reliable. After the library is copied, point Aperture to use the external HD in preference. Close and reopen, it should open the library from the external HD.
The better bet is to make sure you are using an external HD with Firewire 800. I have some experience with USB2 drives when Aperture crashes a lot. It may seem some kind of bandwidth problem which I couldn't understand. It seems find with small jpg files but if you start importing RAW or do something with the RAW files, USB drives always fail.
I have moved my library to an external drive since Aperture 2 as my library has grown beyond the internal capacity. My standard practice is now, after working the files, export them in TIFF or JPG, export the 'Project' with the RAW files to DVDs, remove from the library and re-import the JPGs back to keep the library size. Also I keep two faults in separate locations.
I hope it works.
J -
[svn] 1150: More direct syntax tree generation work-in-progress.
Revision: 1150
Author: [email protected]
Date: 2008-04-08 14:56:01 -0700 (Tue, 08 Apr 2008)
Log Message:
More direct syntax tree generation work-in-progress. FlexStore now
compiles and runs with -generate-abstract-syntax-tree set to true, but
we still parse AS in a few places, like data bindings and styles,
where it isn't always necessary. The unnecessary cases will be
removed in the future to maximize performance.
Asserts have been added to the places that will need an implementation
before the full compiler test suite will pass.
checkintests Passed: YES
Needs QA: Not yet
Needs DOC: NO
API Change: NO
Code-level description of changes:
compiler/as3/AbstractSyntaxTreeUtil.java
Added generateAssignment(), generateIdentifier(),
generateMetaData(), generateParameter(), generateTypeExpression(),
generateVariable(), generateVariableNew(), and parse().
Combined generateConstructorDefinition() and
generateConstructorCommon() into generateConstructor().
compiler/as3/binding/DataBindingExtension.java
Modified generateClassDefinition() to call
nodeFactory.StartClassDefs() to fix a downstream FlowAnalyzer null
pointer exception.
Removed generateParameter(), which was added to AbstractSyntaxTreeUtil.
compiler/mxml/builder/AbstractDocumentBuilder.java
Modified analyze(BindingNode) to call setFromBindingNode().
compiler/mxml/rep/Model.java
Added getSubInitializerIterator().
compiler/mxml/rep/AtResource.java
Added getValueExpression().
compiler/mxml/rep/MxmlDocument.java
Made getTopLevelInitializerIterator() public and added some
additional generics usage.
compiler/mxml/rep/Array.java
Added getSubInitializerIterator() and some additional generics
usage.
compiler/mxml/rep/init/EffectInitializer.java
Added generateAssignExpr().
compiler/mxml/rep/init/ValueInitializer.java
Added generateValueExpr(), generateInlineRValue(),
generateDefinitionBody(), generateDefinitions(), and AST versions
of addAssignExprs(), formatExpr(), asArrayLiteral(),
asObjectLiteral(), asXmlLiteral(), and asXMLList().
compiler/mxml/rep/init/Initializer.java
Added generateValueExpr(), generateAssignExpr(), and
generateDefinitions().
compiler/mxml/rep/init/StyleInitializer.java
Added generateAssignExpr().
compiler/mxml/rep/init/EventInitializer.java
Added generateValueExpr(), generateAssignExpr(),
generateDefinitionBody(), and generateDefinitions().
compiler/mxml/rep/init/NamedInitializer.java
Added generateAssignExpr().
compiler/mxml/rep/init/VisualChildInitializer.java
Added generateAssignExpr().
compiler/mxml/rep/init/ArrayElementInitializer.java
Added generateAssignExpr().
compiler/mxml/rep/decl/InitializedPropertyDeclaration.java
Added generateAssignExpr().
compiler/mxml/rep/MovieClip.java
Added getSubInitializerIterator().
compiler/mxml/rep/BindingExpression.java
Added isFromBindingNode variable and accessors.
Created ensureHighestLevelModelDeclared() from common code.
Added generateDestinationAssignment(),
generateDestinationSetStyle(), and generateDestinationPathRoot().
compiler/mxml/ImplementationCompiler.java
Added short circuit to parse1() for the generate AST case.
compiler/mxml/gen/ClassDefLib.vm
Removed unnecessary variable declaration.
compiler/mxml/ImplementationGenerator.java
Added a truck load of new methods and implemented numerous
previously stubbed out methods.
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractDocumentBuil der.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Array.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/AtResource.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/BindingExpression.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Model.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MovieClip.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/decl/InitializedProperty Declaration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ArrayElementInitial izer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/EffectInitializer.j ava
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/EventInitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/Initializer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/NamedInitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/StyleInitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/VisualChildInitiali zer.javaHi,
I'm unsure how long this post will be on the forums, but here it goes.
Yes, customizing ADF in any way requires a lot of time.
ADF is build with the concept of less coding and more drag and drop. The framework tailored specifically to this requirement.
This means that if you use ADF, you must be willing to change business requirements if ADF does not easily allow you to implement them.
This is of course true for almost any Framework, but for ADF it is really extreme.
I need to go back to the business a lot when working with ADF, explaining that if we change this requirement development is a lot easier and that sometimes I'm even unsure if I can make it work in ADF.
But that said, most of the screen WILL work with basic drag and drop and minimal backing beans, ADF is worth it then.
If people try to convince you, you do not need to code at all with ADF, just ignore them.
They have never work on a real commercial project with real customers, simple as that.
On your question, I believe I did something similar in ADF 10.1.3, but I cannot find the code atm.
But yes, use the native Trinidad components, forget about the bindings for now, bindings will only make your time a lot harder.
Work with the underlying app module and the view objects directly.
There is no reason this should not work, but yes you will bypass the binding layer.
When I have to customize something, I start by checking if the ADF components allow me todo something declarative, this is hardly ever the case.
I changed to backing beans really fast, then I try to use the bindings, but I never spend much time on this and go directly to the underlying app module.
-Anton -
Looking for a great NAS for $200
I'm looking to either get the buffalo tech linkstation pro, pro duo. Any ideas if that's good or some other nas product for generic usage at home. Movies etc music n all that for $200 range.
Found this at the Walmart site - I guess that it does come with drives... I would have to know what brand of drives ship with the unit before buying anything, though, as the price just seems a little too good to have decent drives in it. I paid almost $600 for my LaCie 2big Thunderbolt 4TB drive system. I could have purchased a FireWire 800 system for less than one-half of that, but I wanted the speed of Thunderbolt technology.
If I were you, I would find out what drives are used in the unit - then make a purchasing decision.
Clinton -
Difficulty level of Sun's J2SE5 Certification Exam?
The one I'm talking about is the one here: http://www.sun.com/training/catalog/courses/CX-310-055.xml
I've browsed over what the test covers, and I feel fairly confident about most things, except for synchronization, advanced generic usage, bitwise operations (such as &, |, >>, etc...), regex, java/javac, and a few more things that I've only dealt with a few times.
Although only a score of 59% is required to pass, I am aware of how evil these exams can be, and as the test is $150, it's not something I'd take without know I'd pass.
Has anyone here taken it before?I've browsed over what the test covers, and I feel
fairly confident about most things, except for
synchronization, advanced generic usage, bitwise
operations (such as &, |, >>, etc...), regex,
java/javac, and a few more things that I've only
dealt with a few times.Some advice: go to www.javaranch.com, they seem to specialize in SCJP exam questions. -
Usage of field-symbol to internal table generically.
Hi gurus,
please tell the usage of field symbol to an internall table.
how do i use field symbol generically , so that i can use same field symbol for many different internal tables.
regards,
krishna
TABLES: EKKO.
DATA: ITAB TYPE STANDARD TABLE OF EKKO INITIAL SIZE 1.
SELECT-OPTIONS: P_EBELN FOR EKKO-EBELN OBLIGATORY.
FIELD-SYMBOLS <FS> TYPE any.
SELECT *
FROM EKKO
INTO TABLE ITAB
WHERE EBELN IN P_EBELN.
LOOP AT ITAB ASSIGNING <FS> casting ekko.
WRITE:/ <FS>-EBELN, <FS>-BUKRS, <FS>-LIFNR, <FS>-AEDAT, <FS>-EKGRP, <FS>-STATU, <FS>-SPRAS.
ENDLOOP.How about something SIMPLE like this.
This creates a dynamic table and displays it in an editable grid.
The key to a real Generic internal table is to use the RTTI functionality to generate a field catalog of the structure you want to use as an internal table and then create a dynamic table based on the FCAT created from your structure.
For the code shown below code a simple screen ( SE51) with a custom container on it called CCONTAINER1.
Code also a standard status (SE41) with just the BACK, EXIT and CANCEL buttons on it.
You can use this type of program as a model for ANY dynamic table. Note however that you still can't include DEEP structure in your dynamic table.
With the program shown below you can edit the grid but you'll have to add your own functionality such as cell selection, double click etc etc.
All the code is showning you really is how to take any user defined structure and simply without a whole load of fuss, buld an FCAT, a DYNAMIC TABLE, Populate it and display a grid.
DO NOT EVER USE AGAIN THE OLD SLIS MODULES SUCH AS FM REUSE_ALV_etc. Go for OO either cl_gui_alv_grid or if you don't need to edit anything the new SALV class.
If you are still on 4.6 then the SALV class won't exist but the cl_gui_alv_grid class is fine.
You can see also just by changing a few lines of codeyou can display a grid of almost any structure you can think of (or populate another dynamic table).
Note also if you have an actual table defined you can also always code something like your_itab[] = <dyn_table> so you can retrieve your data easily enough via standard abap.
All you need to do is define your structure, create the fcat and populate the dynamic table.
Even if you don't want a a GRID you've got your data in a dynamic table which is what I believe you wanted in the first place. You don't have to display or use a GRID if you don't need to but I've added the code here as lots of applications need to display data in just these types of lists.
Now surprise your Boss by coding in 10 mins a program he / she thought would take you 1 week. !!!!!.
program zzz_simple_editable_grid.
* Define any structure
types: begin of s_elements,
vbeln type vapma-vbeln,
posnr type vapma-posnr,
matnr type vapma-matnr,
kunnr type vapma-kunnr,
werks type vapma-werks,
vkorg type vapma-vkorg,
vkbur type vapma-vkbur,
status type c,
end of s_elements.
* end of your structure
data lr_rtti_struc type ref to cl_abap_structdescr .
data:
zog like line of lr_rtti_struc->components .
data:
zogt like table of zog,
wa_it_fldcat type lvc_s_fcat,
it_fldcat type lvc_t_fcat ,
dy_line type ref to data,
dy_table type ref to data.
data: dref type ref to data.
field-symbols: <fs> type any,
<dyn_table> type standard table,
<dyn_wa>.
data grid_container1 type ref to cl_gui_custom_container .
data grid1 type ref to cl_gui_alv_grid .
data: ok_code type sy-ucomm.
data: struct_grid_lset type lvc_s_layo.
*now I want to build a field catalog
* First get your data structure into a field symbol
create data dref type s_elements.
assign dref->* to <fs>.
lr_rtti_struc ?= cl_abap_structdescr=>describe_by_data( <fs> ).
* Now get the structure details into a table.
* table zogt[] contains the structure details
* From which we can build the field catalog
zogt[] = lr_rtti_struc->components.
loop at zogt into zog.
clear wa_it_fldcat.
wa_it_fldcat-fieldname = zog-name .
wa_it_fldcat-datatype = zog-type_kind.
wa_it_fldcat-inttype = zog-type_kind.
wa_it_fldcat-intlen = zog-length.
wa_it_fldcat-decimals = zog-decimals.
wa_it_fldcat-coltext = zog-name.
wa_it_fldcat-lowercase = 'X'.
append wa_it_fldcat to it_fldcat .
endloop.
* You can perform any modifications / additions to your field catalog
* here such as your own column names etc.
* Now using the field catalog created above we can
* build a dynamic table
* and populate it
* First build the dynamic table
* the table will contain entries for
* our structure defined at the start of the program
call method cl_alv_table_create=>create_dynamic_table
exporting
it_fieldcatalog = it_fldcat
importing
ep_table = dy_table.
assign dy_table->* to <dyn_table>.
create data dy_line like line of <dyn_table>.
assign dy_line->* to <dyn_wa>.
* Now fill our table with data
select vbeln posnr matnr kunnr werks vkorg vkbur
up to 200 rows
from vapma
into corresponding fields of table <dyn_table>.
* Call the screen to display the grid
call screen 100.
* PBO module
module status_0100 output.
data: off type int4.
break-point 1.
if sy-batch = 'X'.
call method cl_gui_alv_grid=>offline
receiving
e_offline = off.
endif.
if sy-batch = 'X'.
if ( off is initial ).
create object grid_container1
exporting
container_name = 'CCONTAINER1'.
create object grid1
exporting
i_parent = grid_container1.
endif.
endif.
if sy-batch ne 'X'.
if grid_container1 is initial.
create object grid_container1
exporting
container_name = 'CCONTAINER1'.
endif.
create object grid1
exporting
i_parent = grid_container1.
if sy-batch ne 'X'.
struct_grid_lset-edit = 'X'. "To enable editing in ALV
endif.
endif.
call method grid1->set_table_for_first_display
exporting is_layout = struct_grid_lset
changing
it_outtab = <dyn_table>
it_fieldcatalog = it_fldcat.
set pf-status '001'.
set titlebar '000'.
endmodule.
* PAI module
module user_command_0100 input.
case sy-ucomm.
when 'BACK'.
leave program.
when 'EXIT'.
leave program.
when 'RETURN'.
leave program.
when others.
endcase.
endmodule.
Cheers
jimbo -
/ usage questions...
Hello.
I have 2 questions:
1. I have noticed that my / partition's used space increased by ~10M from the last time I've checked it, from 111M to 121M. What could be the cause of that? (see the info below...)
2. The output of df and du is not what I am expecting it to be. I.e. there are differences between the disk usage reported by these 2 commands on the / partition. What could be the cause of this? (see the info below...)
Any reply or any RTFM re-dirrectioning is appreciated.
TIA
Info:
[root@guns /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/ide/host0/bus0/target0/lun0/part5
189M 121M 68M 65% /
none 235M 0 235M 0% /dev/shm
tmpfs 235M 4.0K 235M 1% /tmp
/dev/ide/host0/bus0/target0/lun0/part2
31M 5.2M 24M 18% /boot
/dev/ide/host0/bus0/target0/lun0/part6
2.4G 713M 1.7G 30% /usr
/dev/ide/host0/bus0/target0/lun0/part7
1.9G 374M 1.5G 20% /var
/dev/ide/host0/bus0/target0/lun0/part8
57G 35G 23G 62% /home
/dev/ide/host0/bus0/target0/lun0/part9
957M 486M 472M 51% /opt
[root@guns /]# ls
bin boot dev etc home lib mnt opt proc root sbin sys tmp udev usr var
[root@guns /]# du -sh bin/ dev/ etc/ lib/ mnt/ proc/ root/ sbin/ sys/ tmp/ udev/
2.8M bin/
0 dev/
5.5M etc/
64M lib/
0 mnt/
481M proc/
12M root/
5.2M sbin/
du: cannot access `sys/bus/pci/drivers/Intel(R) 830M/845G/852GM/855GM/865G Framebuffer Driver': No such file or directory
0 sys/
4.0K tmp/
0 udev/
Here's my dmesg output in case it helps...
Linux version 2.6.11.7-ARCH (root@earth) (gcc version 3.4.3) #1 SMP Sat Apr 9 13:37:54 PDT 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001dffc000 (usable)
BIOS-e820: 000000001dffc000 - 000000001dfff000 (ACPI data)
BIOS-e820: 000000001dfff000 - 000000001e000000 (ACPI NVS)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
479MB LOWMEM available.
On node 0 totalpages: 122876
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 118780 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 ASUS ) @ 0x000f6b10
ACPI: RSDT (v001 ASUS A7VI-VM 0x30303031 MSFT 0x31313031) @ 0x1dffc000
ACPI: FADT (v001 ASUS A7VI-VM 0x30303031 MSFT 0x31313031) @ 0x1dffc080
ACPI: BOOT (v001 ASUS A7VI-VM 0x30303031 MSFT 0x31313031) @ 0x1dffc040
ACPI: DSDT (v001 ASUS A7VI-VM 0x00001000 MSFT 0x0100000b) @ 0x00000000
ACPI: PM-Timer IO Port: 0xe408
Allocating PCI resources starting at 1e000000 (gap: 1e000000:e1ff0000)
Built 1 zonelists
Kernel command line: root=/dev/hda5 vga=773 ro
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (013e3000)
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 807.525 MHz processor.
Using pmtmr for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 480548k/491504k available (4086k kernel code, 10360k reserved, 1236k data, 288k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 1597.44 BogoMIPS (lpj=798720)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After all inits, caps: 0183f9ff c1c7f9ff 00000000 00000020 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0e00)
CPU0: AMD Duron(tm) Processor stepping 01
per-CPU timeslice cutoff: 182.83 usecs.
task migration cache decay timeout: 1 msecs.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
CPU0 attaching sched-domain:
domain 0: span 1
groups: 1
domain 1: span 1
groups: 1
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xf10c0, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050228
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Via IRQ fixup
ACPI: PCI Interrupt Routing Table [_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [_SB_.PCI0.PCI1._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 12 devices
PnPBIOS: Disabled by ACPI PNP
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically. If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device(). As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior. If this argument makes the device work again,
** please email the output of "lspci" to [email protected]
** so I can fix the driver.
pnp: 00:02: ioport range 0xe400-0xe47f could not be reserved
pnp: 00:02: ioport range 0xe800-0xe80f has been reserved
pnp: 00:02: ioport range 0xe200-0xe27f has been reserved
Simple Boot Flag at 0x3a set to 0x1
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch ([email protected])
devfs: boot_options: 0x1
Installing knfsd (copyright (C) 1996 [email protected]).
SGI XFS with ACLs, security attributes, no debug enabled
SGI XFS Quota Management subsystem
Initializing Cryptographic API
Applying VIA southbridge workaround.
PCI: Disabling Via external APIC routing
vesafb: framebuffer at 0xf0000000, mapped to 0xde880000, using 1536k, total 32768k
vesafb: mode is 1024x768x8, linelength=1024, pages=41
vesafb: protected mode interface info at c000:7f88
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=8:8:8:8, shift=0:0:0:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
ACPI: Power Button (FF) [PWRF]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 16 throttling states)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA Twister-K/KT133x/KM133 chipset
agpgart: Maximum main memory to use for agp memory: 409M
agpgart: AGP aperture is 64M @ 0xf8000000
[drm] Initialized drm 1.0.0 20040925
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.9.2
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
spurious 8259A interrupt: IRQ7.
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: Maxtor 6Y080L0, ATA DISK drive
hdb: HL-DT-ST GCE-8481B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: HL-DT-STDVD-ROM GDR8163B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 128KiB
hda: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(33)
hda: cache flushes supported
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 >
hdb: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdc: ATAPI 52X DVD-ROM drive, 256kB Cache, UDMA(33)
libata version 1.10 loaded.
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
psmouse.c: Failed to reset mouse on isa0060/serio1
input: PS/2 Generic Mouse on isa0060/serio1
psmouse.c: Failed to enable mouse on isa0060/serio1
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid10 personality registered as nr 9
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 1080.000 MB/sec
8regs_prefetch: 1020.000 MB/sec
32regs : 812.000 MB/sec
32regs_prefetch: 764.000 MB/sec
pII_mmx : 2168.000 MB/sec
p5_mmx : 2904.000 MB/sec
raid5: using function: p5_mmx (2904.000 MB/sec)
raid6: int32x1 332 MB/s
raid6: int32x2 410 MB/s
raid6: int32x4 265 MB/s
raid6: int32x8 253 MB/s
raid6: mmxx1 675 MB/s
raid6: mmxx2 1136 MB/s
raid6: sse1x1 644 MB/s
raid6: sse1x2 1058 MB/s
raid6: using algorithm sse1x2 (1058 MB/s)
md: raid6 personality registered as nr 8
md: multipath personality registered as nr 7
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: [email protected]
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 32Kbytes
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
ACPI wakeup devices:
PCI0 PCI1 UAR1 UAR2 USB0 USB1
ACPI: (supports S0 S1 S4 S5)
devfs_mk_dev: could not append to parent for md/0
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
ReiserFS: hda5: found reiserfs format "3.6" with standard journal
ReiserFS: hda5: using ordered data mode
ReiserFS: hda5: journal params: device hda5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max t
rans age 30
ReiserFS: hda5: checking transaction log (hda5)
ReiserFS: hda5: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 288k freed
Adding 96380k swap on /dev/discs/disc0/part3. Priority:-1 extents:1
Adding 96348k swap on /dev/discs/disc0/part10. Priority:-2 extents:1
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ReiserFS: hda6: found reiserfs format "3.6" with standard journal
ReiserFS: hda6: using ordered data mode
ReiserFS: hda6: journal params: device hda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max t
rans age 30
ReiserFS: hda6: checking transaction log (hda6)
ReiserFS: hda6: Using r5 hash to sort names
ReiserFS: hda7: found reiserfs format "3.6" with standard journal
ReiserFS: hda7: using ordered data mode
ReiserFS: hda7: journal params: device hda7, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max t
rans age 30
ReiserFS: hda7: checking transaction log (hda7)
ReiserFS: hda7: Using r5 hash to sort names
ReiserFS: hda8: found reiserfs format "3.6" with standard journal
ReiserFS: hda8: using ordered data mode
ReiserFS: hda8: journal params: device hda8, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max t
rans age 30
ReiserFS: hda8: checking transaction log (hda8)
ReiserFS: hda8: Using r5 hash to sort names
ReiserFS: hda9: found reiserfs format "3.6" with standard journal
ReiserFS: hda9: using ordered data mode
ReiserFS: hda9: journal params: device hda9, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max t
rans age 30
ReiserFS: hda9: checking transaction log (hda9)
ReiserFS: hda9: Using r5 hash to sort names
Real Time Clock Driver v1.12
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI interrupt 0000:00:0e.0[A] -> GSI 10 (level, low) -> IRQ 10
eth0: RealTek RTL8139 at 0xded90000, 00:50:fc:cd:88:dd, IRQ 10
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
Forcing 10Mbps half-duplex operation.
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9
PCI: setting IRQ 9 as level-triggered
ACPI: PCI interrupt 0000:00:07.5[C] -> GSI 9 (level, low) -> IRQ 9
PCI: Setting latency timer of device 0000:00:07.5 to 64
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
USB Universal Host Controller Interface driver v2.2
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9
ACPI: PCI interrupt 0000:00:07.2[D] -> GSI 9 (level, low) -> IRQ 9
uhci_hcd 0000:00:07.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:07.2: irq 9, io base 0xd400
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:07.3[D] -> GSI 9 (level, low) -> IRQ 9
uhci_hcd 0000:00:07.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
uhci_hcd 0000:00:07.3: irq 9, io base 0xd000
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 1-2: new low speed USB device using uhci_hcd and address 2
usbcore: registered new driver hiddev
usb 2-2: new full speed USB device using uhci_hcd and address 2
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb-0000:00:07.2-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Disabled Privacy Extensions on device c05d68a0(lo)
Vendor: USB MASS Model: STORAGE DEVICE Rev: 0.10
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
usb-storage: device scan complete
eth0: no IPv6 routers presentThe PC was indeed turned off between the two checks.
However the first check was not performed right before the shutdown, but few hours before it.
:idea:
(...) varying from browser cache data increase to a cronjob like updatedb, or even you installing or downloading something.
When I've read these words I have started to "scroll" back in my memory buffer and eventually I've remembered that the only thing I did as superuser was to download some Firefox extensions which (surprise or not...) summed up to ~12M.
So we have the answer for this one too thanks to your hints
PS: That's exactly the reason why I've made a small / partition - to keep a close eye on it's usage and to ring some allarms when needed.
Again, thank you. -
Delta fo Generic extractor using function module
Hi,
I am using the following function module for generic extractor but its always showing me extraction error.Could anyone please suggest to resolve the issue.
Thanks in advance fo rsuggestion.
FUNCTION Z_BW_SALESDATA_EXTRACT_CHNG2.
""Local interface:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SBIWA_S_INTERFACE-REQUNR
*" VALUE(I_ISOURCE) TYPE SBIWA_S_INTERFACE-ISOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SBIWA_S_INTERFACE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SBIWA_S_INTERFACE-INITFLAG OPTIONAL
*" VALUE(I_UPDMODE) TYPE SBIWA_S_INTERFACE-UPDMODE OPTIONAL
*" VALUE(I_DATAPAKID) TYPE SBIWA_S_INTERFACE-DATAPAKID OPTIONAL
*" VALUE(I_PRIVATE_MODE) OPTIONAL
*" VALUE(I_CALLMODE) LIKE ROARCHD200-CALLMODE OPTIONAL
*" VALUE(I_REMOTE_CALL) TYPE SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
*" TABLES
*" I_T_SELECT TYPE SBIWA_T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SBIWA_T_FIELDS OPTIONAL
*" E_T_DATA OPTIONAL
*" E_T_SOURCE_STRUCTURE_NAME OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
The input parameter I_DATAPAKID is not supported yet !
Example: InfoSource containing TADIR objects
TABLES: VBFA,VBRK,tadir.
Auxiliary Selection criteria structure
DATA: l_s_select TYPE sbiwa_s_select.
Maximum number of lines for DB table
STATICS: l_maxsize TYPE sbiwa_s_interface-maxsize.
user defined variables.
DATA : X_UPDMODE(1) Type c, " Update Type
X_LastUpdate Like Sy-Datum. " Last Update Date
X_LastUpdate TYPE RODELTAID. " Last Update Date "TCS_KAP
Select ranges
RANGES: L_R_VBELN FOR VBAK-VBELN,
L_R_AUDAT FOR VBAK-AUDAT.
Parameter I_PRIVATE_MODE:
Some applications might want to use this function module for other
purposes as well (e.g. data supply for OLTP reporting tools). If the
processing logic has to be different in this case, use the optional
parameter I_PRIVATE_MODE (not supplied by BIW !) to distinguish
between BIW calls (I_PRIVATE_MODE = SPACE) and other calls
(I_PRIVATE_MODE = X).
If the message handling has to be different as well, define Your own
messaging macro which interprets parameter I_PRIVATE_MODE. When
called by BIW, it should use the LOG_WRITE macro, otherwise do what
You want.
Initialization mode (first call by SAPI) or data transfer mode
(following calls) ?
IF i_initflag = sbiwa_c_flag_on.
Initialization: check input parameters
buffer input parameters
prepare data selection
The input parameter I_DATAPAKID is not supported yet !
Invalid second initialization call -> error exit
IF NOT g_flag_interface_initialized IS INITIAL.
IF 1 = 2. MESSAGE e008(r3). ENDIF.
log_write 'E' "message type
'R3' "message class
'008' "message number
' ' "message variable 1
' '. "message variable 2
RAISE error_passed_to_mess_handler.
ENDIF.
Check InfoSource validity
CASE i_isource.
WHEN 'Z_BW_SDDATA_CREATEON'.
WHEN 'Y'.
WHEN 'Z'.
WHEN OTHERS.
IF 1 = 2. MESSAGE e009(r3). ENDIF.
log_write 'E' "message type
'R3' "message class
'009' "message number
i_isource "message variable 1
' '. "message variable 2
RAISE error_passed_to_mess_handler.
ENDCASE.
Check for supported update mode
CASE i_updmode.
WHEN 'F'.
WHEN OTHERS.
IF 1 = 2. MESSAGE e011(r3). ENDIF.
log_write 'E' "message type
'R3' "message class
'011' "message number
i_updmode "message variable 1
' '. "message variable 2
RAISE error_passed_to_mess_handler.
ENDCASE.
Check for obligatory selection criteria
READ TABLE i_t_select INTO l_s_select WITH KEY fieldnm = 'VBELN'.
IF sy-subrc <> 0.
IF 1 = 2. MESSAGE e010(r3). ENDIF.
log_write 'E' "message type
'R3' "message class
'010' "message number
'PGMID' "message variable 1
' '. "message variable 2
RAISE error_passed_to_mess_handler.
ENDIF.
APPEND LINES OF i_t_select TO g_t_select.
Fill parameter buffer for data extraction calls
g_s_interface-requnr = i_requnr.
g_s_interface-isource = i_isource.
g_s_interface-maxsize = i_maxsize.
g_s_interface-initflag = i_initflag.
g_s_interface-updmode = i_updmode.
g_s_interface-datapakid = i_datapakid.
g_flag_interface_initialized = sbiwa_c_flag_on.
Store Update mode in static variable...
X_UPDMODE = I_UPDMODE.
Select Single DELTAID
Into X_LastUpdate
From ROOSGENDLM
Where OLTPSOURCE = 'Z_BW_SDDATA_CREATEON'.
If X_LastUpdate Is Initial.
X_LastUpdate = '19800101'. " The oldest..., this should not happen
Endif.
Fill field list table for an optimized select statement
(in case that there is no 1:1 relation between InfoSource fields
and database table fields this may be far from beeing trivial)
APPEND LINES OF i_t_fields TO g_t_segfields.
ELSE. "Initialization mode or data extraction ?
Data transfer: First Call OPEN CURSOR + FETCH
Following Calls FETCH only
X_UPDMODE = I_UPDMODE.
First data package -> OPEN CURSOR
IF g_counter_datapakid = 0.
Fill range tables for fixed InfoSources. In the case of generated
InfoSources, the usage of a dynamical SELECT statement might be
more reasonable. BIW will only pass down simple selection criteria
of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
LOOP AT g_t_select INTO l_s_select WHERE fieldnm = 'VBELN'.
MOVE-CORRESPONDING l_s_select TO L_R_VBELN.
APPEND L_R_VBELN.
ENDLOOP.
LOOP AT g_t_select INTO l_s_select WHERE fieldnm = 'AUDAT'.
MOVE-CORRESPONDING l_s_select TO L_R_AUDAT.
APPEND L_R_AUDAT.
ENDLOOP.
Determine number of database records to be read per FETCH statement
from input parameter I_MAXSIZE. If there is a one to one relation
between InfoSource table lines and database entries, this is trivial.
In other cases, it may be impossible and some estimated value has to
be determined.
*added by Yogesh
DELETE FROM ZBWSALEDATA.
*ended by Yogesh
l_maxsize = g_s_interface-maxsize.
Check for supported update mode
CASE X_UPDMODE.
WHEN 'F' Or 'I'. " Full or Init
**get sales orders
SELECT *
INTO CORRESPONDING FIELDS OF TABLE I_SALESDATA
FROM VBAK AS K
INNER JOIN VBAP AS P
ON PVBELN = KVBELN
WHERE K~VBELN IN L_R_VBELN
AND K~AUDAT IN L_R_AUDAT
AND K~VBTYP = 'C'.
IF I_SALESDATA[] IS NOT INITIAL.
PERFORM F_GET_DATA. "get data
PERFORM F_DEL_VATCOND. "delete vat conditions
PERFORM F_GET_TAR_COSTUNIT. "get tariff cost unit
PERFORM F_GET_NETVAL TABLES IT_VBDPA1. "get net val of the item
PERFORM F_GET_SALESDATA.
*write perform with name F_INSERT_DB_ZBWSALEDATA.
PERFORM F_INSERT_DB_ZBWSALEDATA. "insert into table ZBWSALESDATA
LOOP AT I_SALESDATA WHERE NETPR = 0.
MOVE-CORRESPONDING I_SALESDATA TO I_SALESDATA_FIN.
APPEND I_SALESDATA_FIN.
ENDLOOP.
SORT I_SALESDATA_FIN BY VBELN POSNR KSCHL.
DELETE ADJACENT DUPLICATES FROM I_SALESDATA_FIN
COMPARING VBELN POSNR
KSCHL.
INSERT ZBWSALEDATA FROM TABLE I_SALESDATA_FIN.
ENDIF.
WHEN 'D'. " Delta
SELECT *
INTO CORRESPONDING FIELDS OF TABLE I_SALESDATA
FROM VBAK AS K
INNER JOIN VBAP AS P
ON PVBELN = KVBELN
WHERE K~ERDAT >= X_LastUpdate
WHERE K~ERDAT >= X_LastUpdate+0(8) "TCS_KAP
AND K~VBTYP = 'C'.
IF I_SALESDATA[] IS NOT INITIAL.
PERFORM F_GET_DATA. "get data
PERFORM F_DEL_VATCOND. "delete vat conditions
PERFORM F_GET_TAR_COSTUNIT. "get tariff cost unit
PERFORM F_GET_NETVAL TABLES IT_VBDPA1. "get net val of the item
PERFORM F_GET_SALESDATA.
*write perform with name F_INSERT_DB_ZBWSALEDATA.
PERFORM F_INSERT_DB_ZBWSALEDATA. "insert into table ZBWSALESDATA
LOOP AT I_SALESDATA WHERE NETPR = 0.
MOVE-CORRESPONDING I_SALESDATA TO I_SALESDATA_FIN.
APPEND I_SALESDATA_FIN.
ENDLOOP.
SORT I_SALESDATA_FIN BY VBELN POSNR KSCHL.
DELETE ADJACENT DUPLICATES FROM I_SALESDATA_FIN
COMPARING VBELN POSNR
KSCHL.
INSERT ZBWSALEDATA FROM TABLE I_SALESDATA_FIN.
ENDIF.
WHEN OTHERS.
IF 1 = 2. MESSAGE E011(R3). ENDIF.
LOG_WRITE 'E' "message type
'R3' "message class
'011' "message number
I_UPDMODE "message variable 1
' '. "message variable 2
RAISE ERROR_PASSED_TO_MESS_HANDLER.
ENDCASE.
**end get sales orders
OPEN CURSOR WITH HOLD g_cursor FOR
SELECT (g_t_fields) FROM ZBWSALEDATA.
WHERE pgmid IN l_r_pgmid AND
object IN l_r_object.
ENDIF. "First data package ?
Fetch records into interface table. There are two different options:
- fixed interface table structure for fixed InfoSources have to be
named E_T_'Name of assigned source structure in table ROIS'.
- for generating applications like LIS and CO-PA, the generic table
E_T_DATA has to be used.
Only one of these interface types should be implemented in one API !
FETCH NEXT CURSOR g_cursor
APPENDING CORRESPONDING FIELDS
OF TABLE E_T_DATA
PACKAGE SIZE l_maxsize.
IF sy-subrc <> 0.
CLOSE CURSOR g_cursor.
RAISE no_more_data.
ENDIF.
g_counter_datapakid = g_counter_datapakid + 1.
ENDIF. "Initialization mode or data extraction ?
Best regards,
YogeshDear Yogesh,
Try to debug the code by putting a break point at select statement...is the FM Syntactically correct ??
Check the Select statements..if all fields are not required avoid using Select * , and use always for all entries rather than JOINS..
Note : For Joins you have to specify the Fields in the Select...Dont use Select * ....
Hope it helps..
Thanks,
Krish -
Sudden high memory usage, can't find cause
I did a big update yesterday, and today I've started to notice very high memory usage. I wasn't keeping track before so I can't say how much it increased, but I've never had problems before, and the slowness and lack of responsiveness have been noticeable, though I haven't ruled out other possible causes for that. Here's the output of 'free -m':
total used free shared buffers cached
Mem: 7971 7826 144 0 1 149
-/+ buffers/cache: 7674 296
Swap: 9215 458 8757
It wasn't as bad as that right after startup, though usage still seemed suspiciously high. What makes this whole thing a mystery to me is that none of my running processes seem to be using that much memory! Here's the output of 'top -b -n 1':
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 20 0 32712 544 384 S 0.0 0.0 0:01.32 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:02.48 ksoftirqd/0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
7 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
8 root 20 0 0 0 0 S 0.0 0.0 0:15.55 rcu_preempt
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_sched
11 root rt 0 0 0 0 S 0.0 0.0 0:00.05 watchdog/0
12 root rt 0 0 0 0 S 0.0 0.0 0:00.04 watchdog/1
13 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/1
14 root 20 0 0 0 0 S 0.0 0.0 0:01.02 ksoftirqd/1
16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/1:0H
17 root rt 0 0 0 0 S 0.0 0.0 0:00.04 watchdog/2
18 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/2
19 root 20 0 0 0 0 S 0.0 0.0 0:01.17 ksoftirqd/2
20 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/2:0
21 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/2:0H
22 root rt 0 0 0 0 S 0.0 0.0 0:00.04 watchdog/3
23 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/3
24 root 20 0 0 0 0 S 0.0 0.0 0:01.04 ksoftirqd/3
26 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/3:0H
27 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper
28 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
29 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns
30 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 writeback
31 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 bioset
32 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd
33 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 xenbus_frontend
35 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khungtaskd
36 root 20 0 0 0 0 S 0.0 0.0 0:06.75 kswapd0
37 root 25 5 0 0 0 S 0.0 0.0 0:00.00 ksmd
38 root 39 19 0 0 0 S 0.0 0.0 0:00.24 khugepaged
39 root 20 0 0 0 0 S 0.0 0.0 0:00.00 fsnotify_mark
40 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 crypto
44 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kthrotld
47 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 deferwq
49 root 20 0 0 0 0 S 0.0 0.0 0:00.21 kworker/1:1
61 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 ata_sff
63 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
65 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
68 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_2
69 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_3
70 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_4
71 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_5
76 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khubd
81 root 20 0 0 0 0 S 0.0 0.0 0:00.02 kworker/3:2
93 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 firewire
94 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_6
95 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_7
96 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_8
97 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_9
100 root 0 -20 0 0 0 S 0.0 0.0 0:01.31 kworker/0:1H
104 root 20 0 0 0 0 S 0.0 0.0 0:00.03 jbd2/sda3-8
105 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
119 root 20 0 182720 324 228 S 0.0 0.0 0:02.90 systemd-journal
130 root 20 0 32032 320 316 S 0.0 0.0 0:00.16 systemd-udevd
133 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/1:2
150 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 rpciod
152 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 nfsiod
160 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/1:1H
162 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/3:1H
189 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cfg80211
191 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 led_workqueue
216 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/53-mei_me
220 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/2:1H
255 root 20 0 0 0 0 S 0.0 0.0 0:00.59 jbd2/sda2-8
256 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
267 root 20 0 13236 340 260 S 0.0 0.0 0:00.02 crond
268 root 20 0 57644 524 232 S 0.0 0.0 0:00.07 syslog-ng
275 root 20 0 77896 2164 52 S 0.0 0.0 0:00.11 cupsd
276 root 20 0 32856 32 0 S 0.0 0.0 0:00.53 atieventsd
278 root 20 0 26120 452 448 S 0.0 0.0 0:00.00 systemd-logind
280 dbus 20 0 18040 1040 484 S 0.0 0.0 0:00.16 dbus-daemon
293 root 20 0 8156 32 28 S 0.0 0.0 0:00.04 agetty
294 root 20 0 22416 304 304 S 0.0 0.0 0:00.00 kdm
311 root 20 0 32332 52 0 S 0.0 0.0 0:00.10 wpa_supplicant
314 root 20 0 4252 44 28 S 0.0 0.0 0:02.61 acpid
363 root 20 0 233544 396 396 S 0.0 0.0 0:00.12 colord
370 root 20 0 0 0 0 S 0.0 0.0 0:00.00 firegl
371 root 20 0 0 0 0 S 0.0 0.0 0:00.00 firegl
372 root 20 0 0 0 0 S 0.0 0.0 0:00.00 firegl
379 root 20 0 8612 60 16 S 0.0 0.0 0:00.00 dhcpcd
462 redac 20 0 15212 68 0 S 0.0 0.0 0:00.37 gpg-agent
465 redac 20 0 12680 4 0 S 0.0 0.0 0:00.00 ssh-agent
504 root 20 0 229584 440 284 S 0.0 0.0 0:00.03 upowerd
507 polkitd 20 0 506832 916 700 S 0.0 0.0 0:00.09 polkitd
563 root 20 0 355656 1804 1044 S 0.0 0.0 0:01.50 udisksd
628 redac 20 0 2397180 17068 2004 S 0.0 0.2 0:04.86 mysqld
796 rtkit 21 1 168664 372 360 S 0.0 0.0 0:00.34 rtkit-daemon
873 pdnsd 20 0 172532 0 0 S 0.0 0.0 0:00.00 pdnsd
874 tor 20 0 49952 20556 2152 S 0.0 0.3 0:05.89 tor
1884 root 20 0 361452 118644 105076 S 0.0 1.5 1:21.43 X
1895 root 20 0 75048 660 656 S 0.0 0.0 0:00.00 kdm
1903 redac 20 0 13736 412 408 S 0.0 0.0 0:00.01 startkde
1912 redac 20 0 18016 324 320 S 0.0 0.0 0:00.00 dbus-launch
1913 redac 20 0 19220 1604 564 S 0.0 0.0 0:00.50 dbus-daemon
1959 redac 20 0 12680 52 48 S 0.0 0.0 0:00.00 ssh-agent
1976 root 20 0 4080 40 0 S 0.0 0.0 0:00.00 start_kdeinit
1977 redac 20 0 343772 1976 1420 S 0.0 0.0 0:00.07 kdeinit4
1978 redac 20 0 348392 2680 1824 S 0.0 0.0 0:00.04 klauncher
1980 redac 20 0 1262136 5352 3596 S 0.0 0.1 0:00.48 kded4
1991 redac 20 0 430604 4032 2840 S 0.0 0.0 0:00.11 kglobalaccel
1995 redac 20 0 694524 3020 2520 S 0.0 0.0 0:00.10 kactivitymanage
2000 redac 20 0 4216 44 44 S 0.0 0.0 0:00.00 kwrapper4
2001 redac 20 0 516344 3224 2300 S 0.0 0.0 0:00.10 ksmserver
2009 redac 20 0 422056 19640 15244 S 0.0 0.2 0:23.69 compiz
2012 redac 20 0 388168 7692 4544 S 0.0 0.1 0:01.26 emerald
2023 redac 20 0 280300 2500 2160 S 0.0 0.0 0:00.06 kuiserver
2025 redac 20 0 154132 1848 1344 S 0.0 0.0 0:00.24 akonadi_control
2027 redac 20 0 1949412 1984 1592 S 0.0 0.0 0:00.33 akonadiserver
2059 redac 20 0 346680 1408 1020 S 0.0 0.0 0:00.04 kio_http_cache_
2062 redac 20 0 769220 4932 3436 S 0.0 0.1 0:01.00 krunner
2071 redac 20 0 603092 4484 3132 S 0.0 0.1 0:00.16 kmix
2073 redac 20 0 285208 2680 2352 S 0.0 0.0 0:00.04 nepomukcontroll
2074 redac 20 0 359260 3148 2864 S 0.0 0.0 0:00.25 gtk-kde4
2077 redac 20 0 309608 2468 2220 S 0.0 0.0 0:00.05 akonadi_agent_l
2078 redac 20 0 309512 2332 2140 S 0.0 0.0 0:00.04 akonadi_agent_l
2079 redac 20 0 309496 2564 2336 S 0.0 0.0 0:00.05 akonadi_agent_l
2080 redac 20 0 309608 2476 2224 S 0.0 0.0 0:00.05 akonadi_agent_l
2081 redac 20 0 549804 3236 2480 S 0.0 0.0 0:00.13 akonadi_archive
2082 redac 20 0 303140 2480 2276 S 0.0 0.0 0:00.04 akonadi_agent_l
2083 redac 20 0 305600 2516 2300 S 0.0 0.0 0:00.05 akonadi_agent_l
2084 redac 20 0 314988 4144 3156 S 0.0 0.1 0:00.12 akonadi_imap_re
2099 redac 20 0 430912 15668 9912 S 0.0 0.2 0:09.39 yakuake
2100 redac 20 0 309676 2560 2308 S 0.0 0.0 0:00.04 akonadi_agent_l
2101 redac 20 0 339400 2860 2468 S 0.0 0.0 0:00.09 akonadi_maildis
2102 redac 20 0 549820 2828 2504 S 0.0 0.0 0:00.13 akonadi_mailfil
2103 redac 20 0 314052 2924 2508 S 0.0 0.0 0:00.09 akonadi_nepomuk
2115 redac 20 0 303056 2428 2240 S 0.0 0.0 0:00.04 akonadi_agent_l
2132 redac 20 0 2011628 14200 5716 S 0.0 0.2 0:18.21 ktorrent
2158 redac 20 0 15972 836 520 S 0.0 0.0 0:00.00 bash
2161 redac 20 0 1040928 6484 3060 S 0.0 0.1 0:00.53 knotify4
2162 redac 20 0 1962616 484928 23072 S 0.0 5.9 2:06.25 firefox
2176 redac 20 0 13732 344 340 S 0.0 0.0 0:00.00 rssowl
2178 redac 20 0 11344 404 404 S 0.0 0.0 0:00.00 RSSOwl
2193 redac 20 0 374420 2764 2516 S 0.0 0.0 0:00.06 polkit-kde-auth
2195 redac 20 0 3314212 140484 13196 S 0.0 1.7 0:24.29 java
2203 redac 9 -11 308256 2424 912 S 0.0 0.0 0:00.36 pulseaudio
2209 redac 20 0 406420 3544 2720 S 0.0 0.0 0:00.08 korgac
2233 redac 20 0 69156 420 420 S 0.0 0.0 0:00.00 gconf-helper
2235 redac 20 0 45676 836 564 S 0.0 0.0 0:00.01 gconfd-2
2236 redac 20 0 438044 4468 3128 S 0.0 0.1 0:00.13 klipper
2322 redac 20 0 193052 944 740 S 0.0 0.0 0:00.00 gvfsd
2336 redac 20 0 282112 644 644 S 0.0 0.0 0:00.00 gvfsd-fuse
2361 redac 20 0 263576 572 572 S 0.0 0.0 0:00.00 at-spi-bus-laun
2436 redac 20 0 3188512 61188 19352 S 0.0 0.7 0:16.98 plasma-desktop
2441 redac 20 0 9828 784 520 S 0.0 0.0 0:01.06 ksysguardd
2832 redac 20 0 15580 1240 784 S 0.0 0.0 0:02.93 top
2867 redac 20 0 15972 1796 1160 S 0.0 0.0 0:00.03 bash
2937 root 20 0 0 0 0 S 0.0 0.0 0:00.03 kworker/2:1
2938 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/3:1
3336 root 20 0 0 0 0 S 0.0 0.0 0:00.25 kworker/u8:2
3643 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/u8:1
3662 root 20 0 0 0 0 S 0.0 0.0 0:00.03 kworker/0:1
3703 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0
3704 redac 20 0 15456 1308 992 R 0.0 0.0 0:00.00 top
32506 root 20 0 0 0 0 S 0.0 0.0 0:00.57 kworker/0:2
I wouldn't expect the '%MEM's to add up to exactly the real usage, but this isn't even close! So, what could be using up all of my memory? I have /tmp mounted to ram, but that's only a few megabytes. I really have no idea where to go from here.
The relevant portion of my pacman log is below, since I don't know how to get just a compact list of the updated packages. Most notably, the kernel was upgrades, from 3.9.9-1 to 3.10.3-1.
[2013-08-03 13:00] [PACMAN] Running 'pacman -Su'
[2013-08-03 13:00] [PACMAN] starting full system upgrade
[2013-08-03 13:38] [PACMAN] upgraded a52dec (0.7.4-6 -> 0.7.4-7)
[2013-08-03 13:38] [PACMAN] upgraded libmariadbclient (5.5.31-1 -> 5.5.32-1)
[2013-08-03 13:38] [PACMAN] upgraded mariadb-clients (5.5.31-1 -> 5.5.32-1)
[2013-08-03 13:38] [PACMAN] upgraded mariadb (5.5.31-1 -> 5.5.32-1)
[2013-08-03 13:38] [PACMAN] upgraded akonadi (1.10.0-2 -> 1.10.2-1)
[2013-08-03 13:38] [PACMAN] upgraded alsa-plugins (1.0.27-1 -> 1.0.27-2)
[2013-08-03 13:38] [PACMAN] upgraded alsa-utils (1.0.27.1-2 -> 1.0.27.2-1)
[2013-08-03 13:38] [PACMAN] upgraded x264 (20130206-1 -> 20130702-2)
[2013-08-03 13:38] [PACMAN] upgraded ffmpeg (1:1.2.1-1 -> 1:2.0-2)
[2013-08-03 13:38] [PACMAN] upgraded amarok (2.7.1-2 -> 2.7.1-3)
[2013-08-03 13:38] [PACMAN] upgraded anki (2.0.11-1 -> 2.0.12-1)
[2013-08-03 13:38] [PACMAN] upgraded apr (1.4.6-1 -> 1.4.8-1)
[2013-08-03 13:38] [PACMAN] upgraded glib2 (2.36.3-2 -> 2.36.3-3)
[2013-08-03 13:38] [ALPM] warning: /usr/lib/avahi/service-types.db installed as /usr/lib/avahi/service-types.db.pacnew
[2013-08-03 13:38] [PACMAN] upgraded avahi (0.6.31-9 -> 0.6.31-10)
[2013-08-03 13:38] [PACMAN] upgraded bison (2.7.1-1 -> 3.0-1)
[2013-08-03 13:38] [ALPM-SCRIPTLET] ---------------- I/O BUG ---------------------------------------
[2013-08-03 13:38] [ALPM-SCRIPTLET] There's a bug in fglrx found by lano1106 which generates
[2013-08-03 13:38] [ALPM-SCRIPTLET] great amount of unneeded I/O operations
[2013-08-03 13:38] [ALPM-SCRIPTLET]
[2013-08-03 13:38] [ALPM-SCRIPTLET] To activate workaround enable systemd service:
[2013-08-03 13:38] [ALPM-SCRIPTLET] systemctl enable temp-links-catalyst
[2013-08-03 13:38] [ALPM-SCRIPTLET] systemctl start temp-links-catalyst
[2013-08-03 13:38] [ALPM-SCRIPTLET]
[2013-08-03 13:38] [ALPM-SCRIPTLET] More infos:
[2013-08-03 13:38] [ALPM-SCRIPTLET] https://bbs.archlinux.org/viewtopic.php?pid=1279977#p1279977
[2013-08-03 13:38] [ALPM-SCRIPTLET] https://bbs.archlinux.org/viewtopic.php?pid=1280193#p1280193
[2013-08-03 13:38] [ALPM-SCRIPTLET] ----------------------------------------------------------------
[2013-08-03 13:38] [PACMAN] upgraded catalyst-utils (13.6-3 -> 13.8-1)
[2013-08-03 13:38] [ALPM-SCRIPTLET] + removing fglrx module from /usr/lib/modules/3.9.9-1-ARCH
[2013-08-03 13:38] [ALPM-SCRIPTLET] Building fglrx module for 3.9.9-1-ARCH kernel ...
[2013-08-03 13:38] [ALPM-SCRIPTLET] Ok.
[2013-08-03 13:38] [ALPM-SCRIPTLET] ----------------------------------------------------------------
[2013-08-03 13:38] [ALPM-SCRIPTLET] ATTENTION!
[2013-08-03 13:38] [ALPM-SCRIPTLET] ----------------------------------------------------------------
[2013-08-03 13:38] [ALPM-SCRIPTLET] To enable 'automatic re-compilation while system shutdown/reboot'
[2013-08-03 13:38] [ALPM-SCRIPTLET] testing feature run these commands as root:
[2013-08-03 13:38] [ALPM-SCRIPTLET] systemctl enable catalyst-hook
[2013-08-03 13:38] [ALPM-SCRIPTLET] systemctl start catalyst-hook
[2013-08-03 13:38] [ALPM-SCRIPTLET]
[2013-08-03 13:38] [ALPM-SCRIPTLET] More info here:
[2013-08-03 13:38] [ALPM-SCRIPTLET] https://bbs.archlinux.org/viewtopic.php?pid=1255575#p1255575
[2013-08-03 13:38] [ALPM-SCRIPTLET] ----------------------------------------------------------------
[2013-08-03 13:38] [PACMAN] upgraded catalyst-hook (13.6-3 -> 13.8-1)
[2013-08-03 13:38] [PACMAN] upgraded chromaprint (0.7-5 -> 0.7-6)
[2013-08-03 13:38] [PACMAN] upgraded nspr (4.9.6-1 -> 4.10-2)
[2013-08-03 13:38] [PACMAN] upgraded nss (3.14.3-3 -> 3.15.1-1)
[2013-08-03 13:38] [PACMAN] upgraded xdg-utils (1.1.0.git20121008-2 -> 1.1.0.git20130520-1)
[2013-08-03 13:38] [PACMAN] upgraded libgcrypt (1.5.2-1 -> 1.5.3-1)
[2013-08-03 13:38] [PACMAN] upgraded libpng (1.6.2-3 -> 1.6.3-1)
[2013-08-03 13:38] [PACMAN] upgraded xcb-proto (1.8-1 -> 1.8-2)
[2013-08-03 13:38] [PACMAN] upgraded libxcb (1.9.1-1 -> 1.9.1-2)
[2013-08-03 13:38] [PACMAN] upgraded libx11 (1.6.0-1 -> 1.6.1-1)
[2013-08-03 13:38] [PACMAN] upgraded giflib (4.2.1-3 -> 5.0.4-2)
[2013-08-03 13:38] [PACMAN] upgraded libwebp (0.3.1-2 -> 0.3.1-3)
[2013-08-03 13:38] [PACMAN] upgraded harfbuzz (0.9.18-1 -> 0.9.19-1)
[2013-08-03 13:38] [PACMAN] upgraded harfbuzz-icu (0.9.18-1 -> 0.9.19-1)
[2013-08-03 13:38] [PACMAN] upgraded chromium (28.0.1500.71-1 -> 28.0.1500.95-1)
[2013-08-03 13:38] [PACMAN] upgraded glew (1.9.0-2 -> 1.10.0-1)
[2013-08-03 13:38] [PACMAN] upgraded projectm (2.1.0-5 -> 2.1.0-6)
[2013-08-03 13:39] [PACMAN] upgraded clementine (1.1.1-8 -> 1.1.1-9)
[2013-08-03 13:39] [PACMAN] upgraded cln (1.3.2-1 -> 1.3.3-1)
[2013-08-03 13:39] [PACMAN] upgraded gstreamer (1.0.8-1 -> 1.0.9-1)
[2013-08-03 13:39] [PACMAN] upgraded gst-plugins-base-libs (1.0.8-1 -> 1.0.9-1)
[2013-08-03 13:39] [PACMAN] upgraded gst-plugins-bad (1.0.8-1 -> 1.0.9-1)
[2013-08-03 13:39] [PACMAN] upgraded clutter-gst (2.0.4-2 -> 2.0.6-1)
[2013-08-03 13:39] [PACMAN] upgraded colord (1.0.2-1 -> 1.0.2-2)
[2013-08-03 13:39] [PACMAN] upgraded cracklib (2.8.22-3 -> 2.9.0-1)
[2013-08-03 13:39] [PACMAN] upgraded dhcpcd (5.6.8-3 -> 6.0.4-1)
[2013-08-03 13:39] [PACMAN] upgraded dosfstools (3.0.20-1 -> 3.0.22-1)
[2013-08-03 13:39] [PACMAN] upgraded lib32-glew (1.9.0-1 -> 1.10.0-1)
[2013-08-03 13:39] [ALPM] warning: directory permissions differ on /opt/df_linux/
[2013-08-03 13:39] [PACMAN] upgraded dwarffortress (0.34.11-3 -> 0.34.11-4)
[2013-08-03 13:39] [PACMAN] upgraded jre7-openjdk-headless (7.u40_2.4.1-1 -> 7.u40_2.4.1-2)
[2013-08-03 13:39] [PACMAN] upgraded jre7-openjdk (7.u40_2.4.1-1 -> 7.u40_2.4.1-2)
[2013-08-03 13:39] [PACMAN] upgraded jdk7-openjdk (7.u40_2.4.1-1 -> 7.u40_2.4.1-2)
[2013-08-03 13:39] [PACMAN] upgraded eclipse (4.2.2-1 -> 4.3-1)
[2013-08-03 13:39] [PACMAN] upgraded emacs (24.3-2 -> 24.3-3)
[2013-08-03 13:39] [PACMAN] upgraded exempi (2.2.0-1 -> 2.2.1-1)
[2013-08-03 13:39] [PACMAN] upgraded fontforge (20120731_b-3 -> 20120731_b-6)
[2013-08-03 13:39] [PACMAN] upgraded fuse (2.9.2-3 -> 2.9.3-1)
[2013-08-03 13:39] [PACMAN] upgraded gegl (0.2.0-8 -> 0.2.0-9)
[2013-08-03 13:39] [PACMAN] upgraded git (1.8.3.3-1 -> 1.8.3.4-1)
[2013-08-03 13:39] [PACMAN] upgraded glib (1.2.10-9 -> 1.2.10-10)
[2013-08-03 13:39] [PACMAN] upgraded glib-perl (1.280-3 -> 1.301-1)
[2013-08-03 13:39] [PACMAN] upgraded glpk (4.48-1 -> 4.52-1)
[2013-08-03 13:39] [PACMAN] upgraded gnash-common (0.8.10-9 -> 0.8.10-10)
[2013-08-03 13:39] [PACMAN] upgraded ibus (1.5.2-2 -> 1.5.3-1)
[2013-08-03 13:39] [PACMAN] upgraded gnome-settings-daemon (3.8.3-2 -> 3.8.4-1)
[2013-08-03 13:39] [PACMAN] upgraded libqmi (1.4.0-1 -> 1.4.0-2)
[2013-08-03 13:39] [PACMAN] upgraded libmbim (1.2.0-1 -> 1.4.0-1)
[2013-08-03 13:39] [PACMAN] upgraded modemmanager (0.7.991-1 -> 1.0.0-1)
[2013-08-03 13:39] [PACMAN] upgraded gnome-control-center (3.8.3-1 -> 3.8.4.1-1)
[2013-08-03 13:39] [PACMAN] upgraded gnome-icon-theme (3.8.2-1 -> 3.8.3-1)
[2013-08-03 13:39] [PACMAN] upgraded gnutls (3.2.1-1 -> 3.2.3-1)
[2013-08-03 13:39] [PACMAN] upgraded gnome-vfs (2.24.4-6 -> 2.24.4-7)
[2013-08-03 13:39] [PACMAN] upgraded goffice (0.10.3-1 -> 0.10.4-1)
[2013-08-03 13:40] [PACMAN] upgraded gnumeric (1.12.3-1 -> 1.12.4-1)
[2013-08-03 13:40] [PACMAN] upgraded gst-plugins-base (1.0.8-1 -> 1.0.9-1)
[2013-08-03 13:40] [PACMAN] upgraded gst-plugins-good (1.0.8-1 -> 1.0.9-1)
[2013-08-03 13:40] [PACMAN] upgraded gstreamer0.10-ugly (0.10.19-5 -> 0.10.19-6)
[2013-08-03 13:40] [PACMAN] upgraded gstreamer0.10-ugly-plugins (0.10.19-5 -> 0.10.19-6)
[2013-08-03 13:40] [ALPM] warning: directory permissions differ on /var/log/hp/
[2013-08-03 13:40] [PACMAN] upgraded hplip (3.13.6-1 -> 3.13.7-1)
[2013-08-03 13:40] [PACMAN] upgraded idnkit (1.0-2 -> 1.0-3)
[2013-08-03 13:40] [PACMAN] upgraded ilmbase (2.0.0-1 -> 2.0.1-1)
[2013-08-03 13:40] [PACMAN] upgraded imlib2 (1.4.5-4 -> 1.4.5-5)
[2013-08-03 13:40] [PACMAN] upgraded iso-codes (3.43-1 -> 3.44-1)
[2013-08-03 13:40] [PACMAN] upgraded openexr (2.0.0-1 -> 2.0.1-1)
[2013-08-03 13:40] [PACMAN] upgraded media-player-info (17-1 -> 19-1)
[2013-08-03 13:40] [PACMAN] upgraded qtwebkit (2.3.1-2 -> 2.3.2-1)
[2013-08-03 13:40] [PACMAN] upgraded kdelibs (4.10.5-1 -> 4.10.5-2)
[2013-08-03 13:40] [PACMAN] upgraded kdemultimedia-ffmpegthumbs (4.10.5-1 -> 4.10.5-2)
[2013-08-03 13:40] [PACMAN] upgraded kdenetwork-filesharing (4.10.5-1 -> 4.10.5-2)
[2013-08-03 13:40] [PACMAN] upgraded kdenetwork-kdnssd (4.10.5-1 -> 4.10.5-2)
[2013-08-03 13:40] [PACMAN] upgraded kdenetwork-kget (4.10.5-1 -> 4.10.5-2)
[2013-08-03 13:40] [PACMAN] upgraded kdenetwork-kopete (4.10.5-1 -> 4.10.5-2)
[2013-08-03 13:40] [PACMAN] upgraded kdenetwork-kppp (4.10.5-1 -> 4.10.5-2)
[2013-08-03 13:40] [PACMAN] upgraded kdenetwork-krdc (4.10.5-1 -> 4.10.5-2)
[2013-08-03 13:40] [PACMAN] upgraded kdenetwork-krfb (4.10.5-1 -> 4.10.5-2)
[2013-08-03 13:40] [PACMAN] upgraded kid3 (2.3-1 -> 2.3-2)
[2013-08-03 13:40] [ALPM-SCRIPTLET] ----------------------------------------------------------------
[2013-08-03 13:40] [ALPM-SCRIPTLET] lib32-catalyst-utils works with [multilib] repository
[2013-08-03 13:40] [ALPM-SCRIPTLET] ----------------------------------------------------------------
[2013-08-03 13:40] [PACMAN] upgraded lib32-catalyst-utils (13.6-1 -> 13.8-1)
[2013-08-03 13:40] [PACMAN] upgraded lib32-libx11 (1.6.0-1 -> 1.6.1-1)
[2013-08-03 13:40] [PACMAN] upgraded lib32-giflib (4.2.1-1 -> 5.0.4-1)
[2013-08-03 13:40] [PACMAN] upgraded lib32-gnutls (3.2.1-1 -> 3.2.3-1)
[2013-08-03 13:40] [PACMAN] upgraded lib32-harfbuzz (0.9.18-1 -> 0.9.19-1)
[2013-08-03 13:40] [PACMAN] upgraded lib32-libgcrypt (1.5.2-1 -> 1.5.3-1)
[2013-08-03 13:40] [PACMAN] upgraded libpciaccess (0.13.1-1 -> 0.13.2-1)
[2013-08-03 13:40] [PACMAN] upgraded lib32-libpciaccess (0.13.1-1 -> 0.13.2-1)
[2013-08-03 13:40] [PACMAN] upgraded lib32-libpng (1.6.2-1 -> 1.6.3-1)
[2013-08-03 13:40] [PACMAN] upgraded mesa (9.1.4-5 -> 9.1.6-1)
[2013-08-03 13:40] [PACMAN] upgraded lib32-mesa (9.1.4-1 -> 9.1.6-1)
[2013-08-03 13:40] [PACMAN] upgraded lib32-nspr (4.9.6-1 -> 4.10-2)
[2013-08-03 13:40] [PACMAN] upgraded lib32-nss (3.14.3-2 -> 3.15.1-1)
[2013-08-03 13:40] [PACMAN] upgraded libdatrie (0.2.5-1 -> 0.2.6-1)
[2013-08-03 13:40] [PACMAN] upgraded libgdiplus (2.10-4 -> 2.10.9-1)
[2013-08-03 13:40] [PACMAN] upgraded libthai (0.1.18-1 -> 0.1.19-1)
[2013-08-03 13:40] [PACMAN] upgraded libusbx (1.0.15-1 -> 1.0.16-1)
[2013-08-03 13:40] [PACMAN] upgraded libxfont (1.4.5-1 -> 1.4.6-1)
[2013-08-03 13:40] [PACMAN] upgraded linux-firmware (20130610-1 -> 20130725-1)
[2013-08-03 13:40] [PACMAN] upgraded mkinitcpio-busybox (1.20.2-1 -> 1.21.1-2)
[2013-08-03 13:40] [PACMAN] upgraded mkinitcpio (0.14.0-1 -> 0.15.0-1)
[2013-08-03 13:40] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2013-08-03 13:40] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Starting build: 3.10.3-1-ARCH
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'pata' is deprecated. Replace it with 'block' in your config
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'scsi' is deprecated. Replace it with 'block' in your config
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'sata' is deprecated. Replace it with 'block' in your config
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'usbinput' is deprecated. Replace it with 'keyboard' in your config
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [fglrx]
[2013-08-03 13:40] [ALPM-SCRIPTLET] Building fglrx module for 3.10.3-1-ARCH kernel ...
[2013-08-03 13:40] [ALPM-SCRIPTLET] Failed!!! Check out log: /var/log/catalyst-install.log
[2013-08-03 13:40] [ALPM-SCRIPTLET] - /usr/lib/modules/3.9.9-1-ARCH looks like unused, maybe remove it manualy?
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Image generation successful
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Starting build: 3.10.3-1-ARCH
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'pata' is deprecated. Replace it with 'block' in your config
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: bfa
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'scsi' is deprecated. Replace it with 'block' in your config
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'sata' is deprecated. Replace it with 'block' in your config
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'usbinput' is deprecated. Replace it with 'keyboard' in your config
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [fglrx]
[2013-08-03 13:40] [ALPM-SCRIPTLET] Building fglrx module for 3.10.3-1-ARCH kernel ...
[2013-08-03 13:40] [ALPM-SCRIPTLET] Failed!!! Check out log: /var/log/catalyst-install.log
[2013-08-03 13:40] [ALPM-SCRIPTLET] - /usr/lib/modules/3.9.9-1-ARCH looks like unused, maybe remove it manualy?
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Image generation successful
[2013-08-03 13:40] [PACMAN] upgraded linux (3.9.9-1 -> 3.10.3-1)
[2013-08-03 13:40] [PACMAN] upgraded linux-docs (3.9.9-1 -> 3.10.3-1)
[2013-08-03 13:40] [PACMAN] upgraded linux-headers (3.9.9-1 -> 3.10.3-1)
[2013-08-03 13:40] [PACMAN] upgraded lirc-utils (1:0.9.0-49 -> 1:0.9.0-52)
[2013-08-03 13:40] [PACMAN] upgraded mediastreamer (2.9.0-1 -> 2.9.0-3)
[2013-08-03 13:41] [PACMAN] upgraded meld (1.7.3-1 -> 1.7.4-1)
[2013-08-03 13:41] [PACMAN] upgraded mencoder (36285-1 -> 36285-3)
[2013-08-03 13:41] [PACMAN] upgraded mercurial (2.6.3-1 -> 2.7-1)
[2013-08-03 13:41] [PACMAN] upgraded mplayer (36285-1 -> 36285-3)
[2013-08-03 13:41] [PACMAN] upgraded nepomuk-core (4.10.5-1 -> 4.10.5-2)
[2013-08-03 13:41] [PACMAN] upgraded netctl (1.1-1 -> 1.2-1)
[2013-08-03 13:41] [PACMAN] upgraded nfs-utils (1.2.8-8 -> 1.2.8-9)
[2013-08-03 13:41] [PACMAN] upgraded pcsx2 (1.0.0-5 -> 1.0.0-6)
[2013-08-03 13:41] [PACMAN] upgraded rosegarden (13.04-1 -> 13.06-1)
[2013-08-03 13:41] [PACMAN] upgraded soundkonverter (2.0.3-1 -> 2.0.4-1)
[2013-08-03 13:41] [PACMAN] upgraded subversion (1.8.0-1 -> 1.8.1-1)
[2013-08-03 13:41] [PACMAN] upgraded syslinux (4.06-2 -> 4.07-1)
[2013-08-03 13:41] [PACMAN] upgraded telepathy-glib (0.20.2-1 -> 0.20.4-1)
[2013-08-03 13:41] [ALPM-SCRIPTLET] >>> texlive: updating the filename database...
[2013-08-03 13:41] [ALPM-SCRIPTLET] warning: kpathsea: configuration file texmf.cnf not found in these directories: /usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://../texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c.
[2013-08-03 13:41] [ALPM-SCRIPTLET] mktexlsr: Done.
[2013-08-03 13:41] [ALPM-SCRIPTLET] recreating all formats...warning: kpathsea: configuration file texmf.cnf not found in these directories: /usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://../texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c.
[2013-08-03 13:41] [ALPM-SCRIPTLET] warning: kpathsea: configuration file texmf.cnf not found in these directories: /usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://../texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c.
[2013-08-03 13:41] [ALPM-SCRIPTLET] warning: kpathsea: configuration file texmf.cnf not found in these directories: /usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://../texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c.
[2013-08-03 13:41] [ALPM-SCRIPTLET] /usr/bin/fmtutil: line 395: /texconfig/tcfmgr: No such file or directory
[2013-08-03 13:41] [ALPM-SCRIPTLET] fmtutil: config file `fmtutil.cnf' not found.
[2013-08-03 13:41] [ALPM-SCRIPTLET] done.
[2013-08-03 13:41] [ALPM-SCRIPTLET] (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)
[2013-08-03 13:41] [PACMAN] upgraded texlive-bin (2012.0-13 -> 2013.30973-2)
[2013-08-03 13:41] [ALPM] warning: /etc/texmf/tex/generic/config/language.dat installed as /etc/texmf/tex/generic/config/language.dat.pacnew
[2013-08-03 13:41] [ALPM] warning: /etc/texmf/tex/generic/config/language.def installed as /etc/texmf/tex/generic/config/language.def.pacnew
[2013-08-03 13:41] [ALPM] warning: /etc/texmf/dvipdfmx/dvipdfmx.cfg installed as /etc/texmf/dvipdfmx/dvipdfmx.cfg.pacnew
[2013-08-03 13:41] [ALPM] warning: /etc/texmf/chktex/chktexrc installed as /etc/texmf/chktex/chktexrc.pacnew
[2013-08-03 13:41] [ALPM] warning: /etc/texmf/web2c/fmtutil.cnf installed as /etc/texmf/web2c/fmtutil.cnf.pacnew
[2013-08-03 13:41] [ALPM] warning: /etc/texmf/web2c/texmf.cnf installed as /etc/texmf/web2c/texmf.cnf.pacnew
[2013-08-03 13:41] [ALPM-SCRIPTLET] >>> texlive: saving updmap.cfg as /tmp/tmp.4WfV4vnjxi...
[2013-08-03 13:41] [ALPM-SCRIPTLET] >>> texlive: regenerating updmap.cfg (custom additions should go
[2013-08-03 13:41] [ALPM-SCRIPTLET] into /etc/texmf/web2c/updmap-local.cfg
[2013-08-03 13:41] [ALPM-SCRIPTLET] >>> texlive: updating the filename database...
[2013-08-03 13:41] [ALPM-SCRIPTLET] mktexlsr: Updating /etc/texmf/ls-R...
[2013-08-03 13:41] [ALPM-SCRIPTLET] mktexlsr: Updating /usr/share/texmf/ls-R...
[2013-08-03 13:41] [ALPM-SCRIPTLET] mktexlsr: Updating /usr/share/texmf-dist/ls-R...
[2013-08-03 13:41] [ALPM-SCRIPTLET] mktexlsr: Updating /var/lib/texmf/ls-R...
[2013-08-03 13:41] [ALPM-SCRIPTLET] mktexlsr: Done.
[2013-08-03 13:41] [ALPM-SCRIPTLET] >>> texlive: updating the fontmap files with updmap...
[2013-08-03 13:41] [ALPM-SCRIPTLET] updmap: resetting $HOME value (was /home/redac) to root's actual home (/root).
[2013-08-03 13:41] [ALPM-SCRIPTLET] done.
[2013-08-03 13:41] [ALPM-SCRIPTLET] >>> texlive: recreating all formats...
[2013-08-03 13:41] [ALPM-SCRIPTLET] /usr/bin/fmtutil: line 395: /usr/share/texmf/texconfig/tcfmgr: No such file or directory
[2013-08-03 13:41] [ALPM-SCRIPTLET] fmtutil: config file `fmtutil.cnf' not found.
[2013-08-03 13:41] [ALPM-SCRIPTLET] done.
[2013-08-03 13:41] [ALPM-SCRIPTLET] (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)
[2013-08-03 13:41] [ALPM-SCRIPTLET] NB: To setup ConTeXt and the lua(la)tex font db,
[2013-08-03 13:41] [ALPM-SCRIPTLET] see http://wiki.archlinux.org/index.php/TeX_Live
[2013-08-03 13:41] [PACMAN] upgraded texlive-core (2012.29661-1 -> 2013.30962-2)
[2013-08-03 13:41] [PACMAN] upgraded transcode (1.1.7-9 -> 1.1.7-10)
[2013-08-03 13:41] [PACMAN] upgraded twisted (13.0.0-1 -> 13.1.0-1)
[2013-08-03 13:41] [PACMAN] upgraded videoproto (2.3.1-2 -> 2.3.2-1)
[2013-08-03 13:41] [PACMAN] upgraded virtuoso-base (6.1.6-2 -> 6.1.7-1)
[2013-08-03 13:41] [PACMAN] upgraded virtuoso (6.1.6-2 -> 6.1.7-1)
[2013-08-03 13:41] [PACMAN] installed ffmpeg-compat (1:0.10.8-4)
[2013-08-03 13:42] [PACMAN] upgraded vlc (2.0.7-2 -> 2.0.8.a-1)
[2013-08-03 13:42] [PACMAN] upgraded webkitgtk (2.0.3-1 -> 2.0.4-1)
[2013-08-03 13:42] [PACMAN] upgraded wine (1.6rc5-1 -> 1.7.0-1)
[2013-08-03 13:42] [PACMAN] upgraded xorg-iceauth (1.0.5-1 -> 1.0.6-1)
[2013-08-03 13:42] [PACMAN] upgraded youtube-dl (2013.07.17.1-1 -> 2013.07.25.2-1)Okay, so it turns out that this was caused by the Catalyst bug described in this post. Reverting to the 13.6 version solved the problem. Lesson learned: if there's a ton of memory being used that isn't owned by a running process, start looking for bug reports involving drivers. Especially drivers known for being, well, pretty bad. Was there any method I could have used that would have told me that Catalyst was using all my ram, or is kernel-space memory usage pretty much a black box?
Last edited by Chaotechnician (2013-08-08 00:10:43) -
Having Issues with High CPU Usage with fluxbox & pekwm
Greetings,
I have searched for this issue and it seems that something similar has happened in the past with an old xorg, and it seems that someone is having a similar issue that they can point to kde as being the culrpit. However in my case, this is a fresh install and is not using any kde libs. Please allow me to explain the issue.
The power supply on my main computer finally gave out, and being incredibly poor at the moment I can not yet replace it. So, I pull out an older computer that I had once set up for my kids, but took it away from them when they were abusing it. I always make backup dvds and such monthly so I didn't have to worry about any lose of data, however I desired to keep my larger hard drives from my main computer. After testing to ensure that the hard drives were fine, I did some minor surgery, and did a fresh install of arch linux onto my back up computer. Since I prefer pekwm, I installed pekwm as my wm of choice, and outfitted it quickly with mpd+sonata, firefox, pcmanfm, and tint2. Then I rebooted into my pekwm 'desktop'.
It was running sluggish. Firefox was easily maxing the cpu up and beyond 100% and it felt ten times worse than any heavy DE I used in the past. I checked to make sure I had the right video driver installed. As this computer runs a 64MB nVidia GeForce2 MX with TV out video card, I searched nvidia's page and the arch wiki, noting that the driver needed is nvidia-96xx. Well I had already suspected that during install, and thus had installed such driver. I double checked my xorg.config and it has the right driver listed.
So I checked out some lighter browsers. I tried both Midori and Iron (which is similar to Chrome but without google spyware or whatever). Well both run better than firefox, Midori being the lightest one, but Iron quickly being my favorite. Still, the problem remained. Moving windows caused cpu spikes, opening more than one tab, or more than one program caused cpu spikes and the computer to slow down and sputter, freezing at times.
So I tried out another wm, fluxbos, which is another of my favorites. Seemed somewhat better but only fractionally, which I consider odd because pekwm has always seemed snappier than fluxbox to me in the past. Running lxtask (still mouse dependent, sorry lol), I was able to take note of the following...
FLUXBOX
lxtask 6% CPU usage average
PCManFM 5% CPU Average
Fluxbox 1% to 2% cpu usage
gksu 3% cpu usage
pidgin 3% to 7% cpu usage
firefox up to 62% cpu usage
midori up to 38% cpu usage
iron up to 50% cpu usage
mpd 11% cpu uage
Xorg (with no window movement) 2% cpu usage
Xorg (moving windows around) up to 80% cpu usage
PEKWM
lxtask 6% CPU
pidgin 7% cpu
tint2 1% cpu
pekwm 1% to 5% cpu
pcmanfm 7% cpu
firefox up to 85% cpu
python 1% cpu
midori up to 38% cpu
iron up to 25% cpu (odd...)
Xorg (with no window movement) 1% cpu
Xorg (when moving windows around) up to 80% cpu
Both were using around 118 MB RAm and weren't yet touching swap. As I see it I am thinking xorg or video driver related, yet I already made sure that I had the correct video driver. Here's my Xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Thu Jun 25 18:57:07 PDT 2009
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x900" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Here's some specs on this computer, including video cards and such...
Computer
Summary
Computer
Processor Intel(R) Pentium(R) 4 CPU 1.60GHz
Memory 1034MB (239MB used)
Operating System Arch Linux
User Name mythus (Travis K. Randall)
Date/Time Thu 08 Oct 2009 05:24:52 PM CDT
Display
Resolution 1600x900 pixels
OpenGL Renderer GeForce2 MX/AGP/SSE2
X11 Vendor The X.Org Foundation
Multimedia
Audio Adapter ICH - Intel 82801BA-ICH2
Input Devices
Macintosh mouse button emulation
AT Translated Set 2 keyboard
Power Button
Power Button
PC Speaker
Logitech USB Optical Mouse
Printers
No printers found
SCSI Disks
ATA ST3160212A
ATA IC35L090AVV207-0
LITE-ON LTR-16102B
TSSTcorp CD/DVDW TS-H552D
Operating System
Version
Kernel Linux 2.6.30-ARCH (i686)
Compiled #1 SMP PREEMPT Wed Sep 9 12:37:32 UTC 2009
C Library GNU C Library version 2.10.1 (stable)
Default C Compiler GNU C Compiler version 4.4.1 (GCC)
Distribution Arch Linux
Current Session
Computer Name norova
User Name mythus (Travis K. Randall)
Home Directory /home/mythus
Desktop Environment Unknown (Window Manager: Fluxbox)
Misc
Uptime 11 hours, 38 minutes
Load Average 0.20, 0.38, 0.34
Kernel Modules
Loaded Modules
ipv6 IPv6 protocol stack for Linux
reiserfs ReiserFS journaled filesystem
usbhid USB HID core driver
hid
arc4 ARC4 Cipher Algorithm
ecb ECB block cipher algorithm
snd_seq_dummy ALSA sequencer MIDI-through client
rt2500pci Ralink RT2500 PCI & PCMCIA Wireless LAN driver.
snd_seq_oss OSS-compatible sequencer module
rt2x00pci rt2x00 pci library
snd_seq_midi_event MIDI byte <-> sequencer event coder
rt2x00lib rt2x00 library
snd_seq Advanced Linux Sound Architecture sequencer.
led_class LED Class Interface
snd_seq_device ALSA sequencer device management
input_polldev Generic implementation of a polled input device
mac80211 IEEE 802.11 subsystem
snd_intel8x0 Intel 82801AA,82901AB,i810,i820,i830,i840,i845,MX440; SiS 7012; Ali 5455
uhci_hcd USB Universal Host Controller Interface driver
snd_pcm_oss PCM OSS emulation for ALSA.
fan ACPI Fan Driver
cfg80211 wireless configuration support
ppdev
ehci_hcd USB 2.0 'Enhanced' Host Controller (EHCI) Driver
snd_mixer_oss Mixer OSS emulation for ALSA.
snd_ac97_codec Universal interface for Audio Codec '97
nvidia
lp
eeprom_93cx6 EEPROM 93cx6 chip driver
parport_pc PC-style parallel port driver
ohci1394 Driver for PCI OHCI IEEE-1394 controllers
parport
psmouse PS/2 mouse driver
ac97_bus
ieee1394
serio_raw Raw serio driver
8139too RealTek RTL-8139 Fast Ethernet driver
e100 Intel(R) PRO/100 Network Driver
snd_pcm Midlevel PCM code for ALSA.
pcspkr PC Speaker beeper driver
battery ACPI Battery Driver
8139cp RealTek RTL-8139C+ series 10/100 PCI Ethernet driver
snd_timer ALSA timer interface
i2c_core I2C-Bus main module
iTCO_wdt Intel TCO WatchDog Timer Driver
mii MII hardware support library
evdev Input driver event char devices
snd Advanced Linux Sound Architecture driver for soundcards.
ac ACPI AC Adapter Driver
iTCO_vendor_support Intel TCO Vendor Specific WatchDog Timer Driver Support
usbcore
soundcore Core sound module
sg SCSI generic (sg) driver
shpchp Standard Hot Plug PCI Controller Driver
snd_page_alloc Memory allocator for ALSA system.
processor ACPI Processor Driver
thermal ACPI Thermal Zone Driver
pci_hotplug PCI Hot Plug PCI Core
intel_agp
button ACPI Button Driver
agpgart AGP GART driver
rtc_cmos Driver for PC-style 'CMOS' RTCs
rtc_core RTC class support
rtc_lib
ext4 Fourth Extended Filesystem
mbcache Meta block cache (for extended attributes)
jbd2
crc16 CRC16 calculations
sr_mod SCSI cdrom (sr) driver
cdrom
sd_mod SCSI disk (sd) driver
ata_piix SCSI low-level driver for Intel PIIX/ICH ATA controllers
ata_generic low-level driver for generic ATA
pata_acpi SCSI low-level driver for ATA in ACPI mode
libata Library module for ATA devices
floppy
scsi_mod SCSI core
Display
Display
Display
Resolution 1600x900 pixels
Vendor The X.Org Foundation
Version 1.6.3.901
Monitors
Monitor 0 1600x900 pixels
Extensions
BIG-REQUESTS
Composite
DAMAGE
DOUBLE-BUFFER
DPMS
DRI2
GLX
Generic Event Extension
MIT-SCREEN-SAVER
MIT-SHM
NV-CONTROL
NV-GLX
RANDR
RECORD
RENDER
SECURITY
SHAPE
SYNC
X-Resource
XC-MISC
XFIXES
XFree86-DGA
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
OpenGL
Vendor NVIDIA Corporation
Renderer GeForce2 MX/AGP/SSE2
Version 1.5.8 NVIDIA 96.43.13
Direct Rendering Yes
Processor
Processor
Processor
Name Intel(R) Pentium(R) 4 CPU 1.60GHz
Family, model, stepping 15, 1, 2 (Pentium 4)
Vendor Intel
Configuration
Cache Size 256kb
Frequency 1594.77MHz
BogoMIPS 3190.44
Byte Order Little Endian
Features
FDIV Bug no
HLT Bug no
F00F Bug no
Coma Bug no
Has FPU yes
Cache
Cache information not available
Capabilities
fpu Floating Point Unit
vme Virtual 86 Mode Extension
de Debug Extensions - I/O breakpoints
pse Page Size Extensions (4MB pages)
tsc Time Stamp Counter and RDTSC instruction
msr Model Specific Registers
pae Physical Address Extensions
mce Machine Check Architeture
cx8 CMPXCHG8 instruction
apic Advanced Programmable Interrupt Controller
sep Fast System Call (SYSENTER/SYSEXIT)
mtrr Memory Type Range Registers
pge Page Global Enable
mca Machine Check Architecture
cmov Conditional Move instruction
pat Page Attribute Table
pse36 36bit Page Size Extensions
clflush Cache Line Flush instruction
dts Debug Store
acpi Thermal Monitor and Software Controlled Clock
mmx MMX technology
fxsr FXSAVE and FXRSTOR instructions
sse SSE instructions
sse2 SSE2 (WNI) instructions
ss Self Snoop
ht HyperThreading
tm Thermal Monitor
up smp kernel running on up
pebs Precise-Event Based Sampling
bts Branch Trace Store
Memory
Memory
Total Memory 1034084 kB
Free Memory 94276 kB
Buffers 40536 kB
Cached 700112 kB
Cached Swap 0 kB
Active 170788 kB
Inactive 726844 kB
Active(anon) 74112 kB
Inactive(anon) 88348 kB
Active(file) 96676 kB
Inactive(file) 638496 kB
Unevictable 12 kB
Mlocked 12 kB
High Memory 139144 kB
Free High Memory 252 kB
Low Memory 894940 kB
Free Low Memory 94024 kB
Virtual Memory 2931852 kB
Free Virtual Memory 2931852 kB
Dirty 12 kB
Writeback 0 kB
AnonPages 156996 kB
Mapped 57392 kB
Slab 24260 kB
SReclaimable 18864 kB
SUnreclaim 5396 kB
PageTables 1376 kB
NFS_Unstable 0 kB
Bounce 0 kB
WritebackTmp 0 kB
CommitLimit 3448892 kB
Committed_AS 404212 kB
VmallocTotal 122880 kB
VmallocUsed 27648 kB
VmallocChunk 52368 kB
DirectMap4k 32760 kB
DirectMap4M 876544 kB
Benchmarks
CPU Blowfish
CPU Blowfish
This Machine 1595 MHz 50.176
Intel(R) Celeron(R) M processor 1.50GHz (null) 26.1876862
PowerPC 740/750 (280.00MHz) (null) 172.816713
CPU CryptoHash
CPU CryptoHash
This Machine 1595 MHz 11.071
CPU Fibonacci
CPU Fibonacci
This Machine 1595 MHz 74.202
Intel(R) Celeron(R) M processor 1.50GHz (null) 8.1375674
PowerPC 740/750 (280.00MHz) (null) 58.07682
CPU N-Queens
CPU N-Queens
This Machine 1595 MHz 132.704
FPU FFT
FPU FFT
This Machine 1595 MHz 104.630
FPU Raytracing
FPU Raytracing
This Machine 1595 MHz 212.639
Intel(R) Celeron(R) M processor 1.50GHz (null) 40.8816714
PowerPC 740/750 (280.00MHz) (null) 161.312647
So what I am wanting help with is finding the solution to the cpu usage so that I can use this computer at least until I can afford a new power supply or whatever. I am open to any good suggestions, though I must state I am not really interested in tiling wm's at the moment. I am just not a true minimalist.
Thanks in advance for any and all help. I understand that there is a lot of info in this post, but it is my hope that with this info the problem can be solved. If there is info I didn't provide that is needed, please let me know.also check that you have
session.screen0.opaqueMove false
in your .fluxbox/init this will probably help a bit if it is currently true,
Last edited by Cyrusm (2009-01-26 13:52:13) -
Bitmap.Save 'A generic error occurred in GDI+'
Hello All,
I was just going to play around by generating some bitmaps programatically.
I started off with this simple example, expecting everything to go smoothly, but have run into a strange error.
The following code is by no means good, just something simple and complete I would expect to work:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace BitmapOutput
public partial class Form1 : Form
/// <summary>
/// The picture i am drawing
/// </summary>
System.Drawing.Bitmap myBitmap;
/// <summary>
/// Graphics object for drawing
/// </summary>
System.Drawing.Graphics myGrafx;
public Form1()
InitializeComponent();
this.myBitmap = new Bitmap(800, 600);
this.myGrafx = System.Drawing.Graphics.FromImage(this.myBitmap);
this.DrawPicture();
this.ShowPicture();
this.SavePicture();
public void DrawPicture()
this.myGrafx.DrawEllipse(
new Pen(System.Drawing.Color.AliceBlue), new Rectangle(0, 0, 100, 100));
public void ShowPicture()
this.pictureBox1.Image = this.myBitmap;
public void SavePicture()
this.myBitmap.Save("Output\\out.bmp" , System.Drawing.Imaging.ImageFormat.Bmp );
This runs fine until the SavePicture(...) function is called.
I get the exception:
"A generic error occurred in GDI+."
at the this.myBitmap.Save(...); line.
Most likely there is some detail that I have overlooked, and I appreciate it if anyone could point out to me what I could do to fix it.
But, I'd like to think that this code would work, it makes sense, and requires little effort, that should be one of the goals of .net
Any help or ideas are greatly appreciated!
P.S. how do I use 'code' tags?Actually, the fix is to properly dispose of your objects in order. This is one advantage of C#, with the using() syntax:
// new image with transparent Alpha layer
using (var bitmap = new Bitmap(330, 18, PixelFormat.Format32bppArgb))
using (var graphics = Graphics.FromImage(bitmap))
// add some anti-aliasing
graphics.SmoothingMode = SmoothingMode.AntiAlias;
using (var font = new Font("Arial", 14.0f, GraphicsUnit.Pixel))
using (var brush = new SolidBrush(Color.White))
// draw it
graphics.DrawString(user.Email, font, brush, 0, 0);
// setup the response
Response.Clear();
Response.ContentType = "image/png";
Response.BufferOutput = true;
// write it to the output stream
bitmap.Save(Response.OutputStream, ImageFormat.Png);
Response.Flush();
Notice how I dispose (end the using) of the graphics parameter, before I save it? You don't have to use the using() statements, just call Dispose() at the end of the scope I show above.
I ran into this problem today on Azure (works locally in the cloud, just an Azure 1.3 thing!), and I saw the link to the blog post above. That was a good link, as it pointed me in the direction of disposing the graphics earlier.
But, there is no point of increasing hte memory usage of two bitmaps if you dispose of your graphics properly before saving.
http://eduncan911.com -
How to Load the Resource Master for Generic Resources by Department?
We are using P6 enterprise version in our company having a central database.
Q1a.) We set the Activities view > Resource Usage Spreadsheet > Select View 1) By Resource OR 2) By Role.
The result is the spreadsheet presents the Remaining Early Units by Resource OR by Role. Other spreadsheets behave the same way. Is it possible to view the total Remaining Early Units and not have it separated by Resource OR Role?
Q1b.) We would like to find out the recommended structure to load Generic Resources (ie. professional and trades such as Civil Engineer, Mechanical Engineer, Carpenter, Welder etc.) for each Department (ie. 8221, 9362, 8524 etc.) into the Resource Library. Example: we would like to load Civil Engineer once for departments 8221, 9362, 8524, load Welder once for departments 9362, 8524, etc.
We contacted Primavera Support and they pointed us to use Roles.
Thank-you for any suggestions you may have.i think you could try to model it like this:
- define a single "mech eng" role in the role tree (not too deep or even a flat list). no dept's mentioned here. keep the role tree strictly "speciality" oriented or anyway according to their technical classification.
Role ID Role Name
Engr Engineer
.......Engr.SE Structural Engineer
.......Engr.EE Electrical Engineer
.......Engr.ME Mechanical Engineer
- define any number of resources (either individuals, or teams or even a combination of the two) in the resuorce tree.
1 eng with a capacity of 8h/d, a fixed formation (team) regardless of the number of individuals would still have a capacity of 8h/d if they can only accomplish tasks together. if assigning a team of 5 means means faster for fixed workload or more for fixed duration then define a fixed team (again if this is the case) as a single resource with a capacity of 40h/d or simply define and assign the required number of individual eng's 8h/d max each. use activity duration type to switch between duration driving and non-driving resource usage.
e.g.
Resource ID Resource Name Resource Type Default Units / Time Max Units/Time Primary Role Roles
.......*ElecEng Electrical Engineers* Labor 20.00h/d 20.00h/d Electrical Engineer Electrical Engineer
..............EE1BARBW Barb Wire, Senior Electrical Engineer Labor 10.00h/d 10.00h/d Electrical Engineer Electrical Engineer, Project AQ
..............EE2BILLS Bill Sanders, Junior Electrical Engineer Labor 10.00h/d 10.00h/d Electrical Engineer Electrical Engineer, Consultant
.......*MechEng Mechanical Engineers* Labor 10.00h/d 0.00h/d Mechanical Engineer Mechanical Engineer
..............MechEng T1 mech eng team 1 Labor 8.00h/d 8.00h/d Mechanical Engineer Mechanical Engineer
..............MechEng T2 mech eng team 1 Labor 16.00h/d 16.00h/d Mechanical Engineer Mechanical Engineer
.....................MechEng T2.1 ME 2.1 Labor 8.00h/d 8.00h/d Mechanical Engineer Mechanical Engineer, Consultant
.....................MechEng T2.2 ME 2.2 Labor 8.00h/d 8.00h/d Mechanical Engineer Mechanical Engineer
- create the necessary res to role associations. one employee or team (i.e. res) can be linked to one primary qualification and several other proffesions or specialities (i.e. roles)
- when assigning to activities, if a particular individual/ team is required assign directly the res. select several activities requiring mech eng, select 1 or several mech eng's and assign them (use resource security to limit user's access to certain res nodes).
- if any res with a particular role can perform the task, assign the role. later on if you decide for a res, you can assign a particular resource through the previously assigned role. decide applicable rates and h/d between role and res.
- you can track allocation in spreadsheets and histograms by resource or role (or by activity for both). if individual res have clear capacities, for roles you can chose between custon role limits (manual) and system calculated for each role based on res having that as primary qualification (user pref)
- you can report by activity / WBS / project / portfolio (tracking)
- solve over-allocation by levelling, by switching between res for the same role, etc
- optimise duration vs. load and/or # of res/roles (and viceversa)
Edited by: Tibi on Oct 9, 2009 9:40 PM
Edited by: Tibi on Oct 9, 2009 9:59 PM -
Generic "usb midi device" in 10.9 / Mavericks
What does Mavericks need to use the product string from the USB descriptor as the name of the MIDI port? I have an assortment of USB Audio Class 2.0 compliant audio + MIDI interfaces. Some behave as they do in Mountain Lion and earlier: If manufacturer Foo makes a product Bar with audio and MIDI interfaces, then the Audio Midi Setup windows will show an audio interface named Bar, and a MIDI port named Bar. If you double-click on the MIDI port, it shows the Model, "Bar," and additional information, including the manufacturer Foo, as retrieved from the USB descriptor. This is expected and desired, especially with devices that unlock features in non-free software.
However, with Mavericks, some devices (staying with the Foo/Bar example), though the audio interface gets named Bar, show up in the MIDI Studio window of AMS as "USB MIDI Device," and double-clicking reveals the manufacturer and model to be "Generic" and "USB MIDI Device," respectively. If you use the drop down menu at the top of this window to switch to a different configuration, or define a new one, while the device is connected, it appears in the second configuration as Bar, with the correct manufacturer.
Now, according to https://developer.apple.com/library/mac/technotes/tn2274/_index.html, the Interface Association Descriptor needs to group all the audio descriptors together, they need to be contiguous, and they need to be ordered by Audio Control, then Audio Streaming, then MIDI streaming. The device that isn't coming up correctly meets those criteria, so I wonder what else is missing.
Here's a dump:
Information for device Bar (VID=0x0f00 PID=0x0baa):
Connection Information:
Connection status: Device connected
Device actual bus speed: High
Device is hub: No
Device address: 0x0001
Current configuration value: 0x01
Number of open pipes: 5
Device Descriptor:
0x12 bLength
0x01 bDescriptorType
0x0200 bcdUSB
0xEF bDeviceClass (Miscellaneous device)
0x02 bDeviceSubClass
0x01 bDeviceProtocol
0x40 bMaxPacketSize0 (64 Bytes)
0x0f00 idVendor
0x0baa idProduct
0x0010 bcdDevice
0x01 iManufacturer "Foo"
0x03 iProduct "Bar"
0x00 iSerialNumber
0x02 bNumConfigurations
Device Qualifier Descriptor:
0x0A bLength
0x06 bDescriptorType
0x0200 bcdUSB
0x00 bDeviceClass
0x00 bDeviceSubClass
0x00 bDeviceProtocol
0x40 bMaxPacketSize0 (64 Bytes)
0x01 bNumConfigurations
0x00 bReserved
Configuration Descriptor:
0x09 bLength
0x02 bDescriptorType
0x0169 wTotalLength
0x05 bNumInterfaces
0x01 bConfigurationValue
0x00 iConfiguration
0x80 bmAttributes (Bus-powered Device)
0xFA bMaxPower (500 mA)
Interface Association Descriptor:
0x08 bLength
0x0B bDescriptorType
0x00 bFirstInterface
0x04 bInterfaceCount
0x01 bFunctionClass (Audio Device Class)
0x00 bFunctionSubClass
0x20 bFunctionProtocol
0x00 iFunction
Interface Descriptor:
0x09 bLength
0x04 bDescriptorType
0x00 bInterfaceNumber
0x00 bAlternateSetting
0x00 bNumEndPoints
0x01 bInterfaceClass (Audio Device Class)
0x01 bInterfaceSubClass (Audio Control Interface)
0x20 bInterfaceProtocol
0x00 iInterface
AC Interface Header Descriptor:
0x09 bLength
0x24 bDescriptorType
0x01 bDescriptorSubtype
0x0200 bcdADC
0x08 bCategory
0x0087 wTotalLength
0x00 bmControls
AC Clock Source Descriptor:
0x08 bLength
0x24 bDescriptorType
0x0A bDescriptorSubtype
0x29 bClockID
0x03 bmAttributes
0x07 bmControls
0x00 bAssocTerminal
0x0E iClockSource "Foo Internal Clock"
AC Clock Selector Descriptor:
0x08 bLength
0x24 bDescriptorType
0x0B bDescriptorSubtype
0x28 bClockID
0x01 bNrInPins
0x29 baCSourceID(1)
0x03 bmControls
0x0D iClockSelector "Foo Clock Selector"
AC Input Terminal Descriptor:
0x11 bLength
0x24 bDescriptorType
0x02 bDescriptorSubtype
0x02 bTerminalID
0x0101 wTerminalType (USB Streaming)
0x00 bAssocTerminal
0x28 bCSourceID
0x04 bNrChannels
0x00000000 bmChannelConfig
0x12 iChannelNames
0x00 bmControls
0x06 iTerminal "Bar "
AC Feature Unit Descriptor:
0x1A bLength
0x24 bDescriptorType
0x06 bDescriptorSubtype
0x0A bUnitID
0x02 bSourceID
0x0000000F bmaControls(0)
0x0000000F bmaControls(1)
0x0000000F bmaControls(2)
0x0000000F bmaControls(3)
0x0000000F bmaControls(4)
0x00 iFeature
AC Output Terminal Descriptor:
0x0C bLength
0x24 bDescriptorType
0x03 bDescriptorSubtype
0x14 bTerminalID
0x0301 wTerminalType (Speaker)
0x00 bAssocTerminal
0x0A bSourceID
0x28 bCSourceID
0x0000 bmControls
0x00 iTerminal
AC Input Terminal Descriptor:
0x11 bLength
0x24 bDescriptorType
0x02 bDescriptorSubtype
0x01 bTerminalID
0x0201 wTerminalType (Microphone)
0x00 bAssocTerminal
0x28 bCSourceID
0x04 bNrChannels
0x00000000 bmChannelConfig
0x16 iChannelNames
0x00 bmControls
0x00 iTerminal
AC Feature Unit Descriptor:
0x1A bLength
0x24 bDescriptorType
0x06 bDescriptorSubtype
0x0B bUnitID
0x01 bSourceID
0x0000000F bmaControls(0)
0x0000000F bmaControls(1)
0x0000000F bmaControls(2)
0x0000000F bmaControls(3)
0x0000000F bmaControls(4)
0x00 iFeature
AC Output Terminal Descriptor:
0x0C bLength
0x24 bDescriptorType
0x03 bDescriptorSubtype
0x16 bTerminalID
0x0101 wTerminalType (USB Streaming)
0x00 bAssocTerminal
0x0B bSourceID
0x28 bCSourceID
0x0000 bmControls
0x07 iTerminal "Bar "
Interface Descriptor:
0x09 bLength
0x04 bDescriptorType
0x01 bInterfaceNumber
0x00 bAlternateSetting
0x00 bNumEndPoints
0x01 bInterfaceClass (Audio Device Class)
0x02 bInterfaceSubClass (Audio Streaming Interface)
0x20 bInterfaceProtocol
0x00 iInterface
Interface Descriptor:
0x09 bLength
0x04 bDescriptorType
0x01 bInterfaceNumber
0x01 bAlternateSetting
0x02 bNumEndPoints
0x01 bInterfaceClass (Audio Device Class)
0x02 bInterfaceSubClass (Audio Streaming Interface)
0x20 bInterfaceProtocol
0x00 iInterface
AS Interface Descriptor:
0x10 bLength
0x24 bDescriptorType
0x01 bDescriptorSubtype
0x02 bTerminalLink
0x00 bmControls
0x01 bFormatType
0x00000001 bmFormats
0x04 bNrChannels
0x00000000 bmChannelConfig
0x12 iChannelNames
AS Format Type 1 Descriptor:
0x06 bLength
0x24 bDescriptorType
0x02 bDescriptorSubtype
0x01 bFormatType
0x04 bSubslotSize
0x18 bBitResolution (24 Bits/sample)
Endpoint Descriptor:
0x07 bLength
0x05 bDescriptorType
0x01 bEndpointAddress (OUT Endpoint)
0x05 bmAttributes (Transfer: Isochronous / Synch: Asynchronous / Usage: Data)
0x00D0 wMaxPacketSize (208 Bytes)
0x01 bInterval
AS Isochronous Data Endpoint Descriptor:
0x08 bLength
0x25 bDescriptorType
0x01 bDescriptorSubtype
0x00 bmAttributes
0x00 bmControls
0x02 bLockDelayUnits (Decoded PCM samples)
0x0008 wLockDelay
Endpoint Descriptor:
0x07 bLength
0x05 bDescriptorType
0x81 bEndpointAddress (IN Endpoint)
0x11 bmAttributes (Transfer: Isochronous / Synch: None / Usage: Feedback)
0x0004 wMaxPacketSize (4 Bytes)
0x04 bInterval
Interface Descriptor:
0x09 bLength
0x04 bDescriptorType
0x02 bInterfaceNumber
0x00 bAlternateSetting
0x00 bNumEndPoints
0x01 bInterfaceClass (Audio Device Class)
0x02 bInterfaceSubClass (Audio Streaming Interface)
0x20 bInterfaceProtocol
0x00 iInterface
Interface Descriptor:
0x09 bLength
0x04 bDescriptorType
0x02 bInterfaceNumber
0x01 bAlternateSetting
0x01 bNumEndPoints
0x01 bInterfaceClass (Audio Device Class)
0x02 bInterfaceSubClass (Audio Streaming Interface)
0x20 bInterfaceProtocol
0x00 iInterface
AS Interface Descriptor:
0x10 bLength
0x24 bDescriptorType
0x01 bDescriptorSubtype
0x16 bTerminalLink
0x00 bmControls
0x01 bFormatType
0x00000001 bmFormats
0x04 bNrChannels
0x00000000 bmChannelConfig
0x16 iChannelNames
AS Format Type 1 Descriptor:
0x06 bLength
0x24 bDescriptorType
0x02 bDescriptorSubtype
0x01 bFormatType
0x04 bSubslotSize
0x18 bBitResolution (24 Bits/sample)
Endpoint Descriptor:
0x07 bLength
0x05 bDescriptorType
0x82 bEndpointAddress (IN Endpoint)
0x05 bmAttributes (Transfer: Isochronous / Synch: Asynchronous / Usage: Data)
0x00D0 wMaxPacketSize (208 Bytes)
0x01 bInterval
AS Isochronous Data Endpoint Descriptor:
0x08 bLength
0x25 bDescriptorType
0x01 bDescriptorSubtype
0x00 bmAttributes
0x00 bmControls
0x02 bLockDelayUnits (Decoded PCM samples)
0x0008 wLockDelay
Interface Descriptor:
0x09 bLength
0x04 bDescriptorType
0x03 bInterfaceNumber
0x00 bAlternateSetting
0x02 bNumEndPoints
0x01 bInterfaceClass (Audio Device Class)
0x03 bInterfaceSubClass (MIDI Streaming Interface)
0x00 bInterfaceProtocol
0x00 iInterface
MS Interface Header Descriptor:
0x07 bLength
0x24 bDescriptorType
0x01 bDescriptorSubtype
0x0100 bcdMSC
0x0041 wTotalLength
MS MIDI IN Jack Descriptor:
0x06 bLength
0x24 bDescriptorType
0x02 bDescriptorSubtype
0x01 bJackType
0x01 bJackID
0x00 iJack
MS MIDI IN Jack Descriptor:
0x06 bLength
0x24 bDescriptorType
0x02 bDescriptorSubtype
0x02 bJackType
0x02 bJackID
0x00 iJack
MS MIDI OUT Jack Descriptor:
0x09 bLength
0x24 bDescriptorType
0x03 bDescriptorSubtype
0x01 bJackType
0x03 bJackID
0x01 bNrInputPins
0x02 baSourceID(1)
0x01 baSourcePin(1)
0x00 iJack
MS MIDI OUT Jack Descriptor:
0x09 bLength
0x24 bDescriptorType
0x03 bDescriptorSubtype
0x02 bJackType
0x04 bJackID
0x01 bNrInputPins
0x01 baSourceID(1)
0x01 baSourcePin(1)
0x00 iJack
Endpoint Descriptor (Audio/MIDI):
0x09 bLength
0x05 bDescriptorType
0x02 bEndpointAddress (OUT Endpoint)
0x02 bmAttributes (Transfer: Bulk / Synch: None / Usage: Data)
0x0200 wMaxPacketSize (512 Bytes)
0x00 bInterval
0x00 bRefresh
0x00 bSynchAddress
MS Bulk Data Endpoint Descriptor:
0x05 bLength
0x25 bDescriptorType
0x01 bDescriptorSubtype
0x01 bNumEmbMIDIJack
0x01 baAssocJackID(1)
Endpoint Descriptor (Audio/MIDI):
0x09 bLength
0x05 bDescriptorType
0x83 bEndpointAddress (IN Endpoint)
0x02 bmAttributes (Transfer: Bulk / Synch: None / Usage: Data)
0x0200 wMaxPacketSize (512 Bytes)
0x00 bInterval
0x00 bRefresh
0x00 bSynchAddress
MS Bulk Data Endpoint Descriptor:
0x05 bLength
0x25 bDescriptorType
0x01 bDescriptorSubtype
0x01 bNumEmbMIDIJack
0x03 baAssocJackID(1)
Interface Descriptor:
0x09 bLength
0x04 bDescriptorType
0x04 bInterfaceNumber
0x00 bAlternateSetting
0x00 bNumEndPoints
0xFE bInterfaceClass (Application Specific)
0x01 bInterfaceSubClass
0x01 bInterfaceProtocol
0x0F iInterface "Foo DFU"
Configuration Descriptor:
0x09 bLength
0x02 bDescriptorType
0x0169 wTotalLength
0x05 bNumInterfaces
0x01 bConfigurationValue
0x00 iConfiguration
0x80 bmAttributes (Bus-powered Device)
0xFA bMaxPower (500 mA)
Interface Association Descriptor:
0x08 bLength
0x0B bDescriptorType
0x00 bFirstInterface
0x04 bInterfaceCount
0x01 bFunctionClass (Audio Device Class)
0x00 bFunctionSubClass
0x20 bFunctionProtocol
0x00 iFunction
Interface Descriptor:
0x09 bLength
0x04 bDescriptorType
0x00 bInterfaceNumber
0x00 bAlternateSetting
0x00 bNumEndPoints
0x01 bInterfaceClass (Audio Device Class)
0x01 bInterfaceSubClass (Audio Control Interface)
0x20 bInterfaceProtocol
0x00 iInterface
AC Interface Header Descriptor:
0x09 bLength
0x24 bDescriptorType
0x01 bDescriptorSubtype
0x0200 bcdADC
0x08 bCategory
0x0087 wTotalLength
0x00 bmControls
AC Clock Source Descriptor:
0x08 bLength
0x24 bDescriptorType
0x0A bDescriptorSubtype
0x29 bClockID
0x03 bmAttributes
0x07 bmControls
0x00 bAssocTerminal
0x0E iClockSource "Foo Internal Clock"
AC Clock Selector Descriptor:
0x08 bLength
0x24 bDescriptorType
0x0B bDescriptorSubtype
0x28 bClockID
0x01 bNrInPins
0x29 baCSourceID(1)
0x03 bmControls
0x0D iClockSelector "Foo Clock Selector"
AC Input Terminal Descriptor:
0x11 bLength
0x24 bDescriptorType
0x02 bDescriptorSubtype
0x02 bTerminalID
0x0101 wTerminalType (USB Streaming)
0x00 bAssocTerminal
0x28 bCSourceID
0x04 bNrChannels
0x00000000 bmChannelConfig
0x12 iChannelNames
0x00 bmControls
0x06 iTerminal "Bar "
AC Feature Unit Descriptor:
0x1A bLength
0x24 bDescriptorType
0x06 bDescriptorSubtype
0x0A bUnitID
0x02 bSourceID
0x0000000F bmaControls(0)
0x0000000F bmaControls(1)
0x0000000F bmaControls(2)
0x0000000F bmaControls(3)
0x0000000F bmaControls(4)
0x00 iFeature
AC Output Terminal Descriptor:
0x0C bLength
0x24 bDescriptorType
0x03 bDescriptorSubtype
0x14 bTerminalID
0x0301 wTerminalType (Speaker)
0x00 bAssocTerminal
0x0A bSourceID
0x28 bCSourceID
0x0000 bmControls
0x00 iTerminal
AC Input Terminal Descriptor:
0x11 bLength
0x24 bDescriptorType
0x02 bDescriptorSubtype
0x01 bTerminalID
0x0201 wTerminalType (Microphone)
0x00 bAssocTerminal
0x28 bCSourceID
0x04 bNrChannels
0x00000000 bmChannelConfig
0x16 iChannelNames
0x00 bmControls
0x00 iTerminal
AC Feature Unit Descriptor:
0x1A bLength
0x24 bDescriptorType
0x06 bDescriptorSubtype
0x0B bUnitID
0x01 bSourceID
0x0000000F bmaControls(0)
0x0000000F bmaControls(1)
0x0000000F bmaControls(2)
0x0000000F bmaControls(3)
0x0000000F bmaControls(4)
0x00 iFeature
AC Output Terminal Descriptor:
0x0C bLength
0x24 bDescriptorType
0x03 bDescriptorSubtype
0x16 bTerminalID
0x0101 wTerminalType (USB Streaming)
0x00 bAssocTerminal
0x0B bSourceID
0x28 bCSourceID
0x0000 bmControls
0x07 iTerminal "Bar "
Interface Descriptor:
0x09 bLength
0x04 bDescriptorType
0x01 bInterfaceNumber
0x00 bAlternateSetting
0x00 bNumEndPoints
0x01 bInterfaceClass (Audio Device Class)
0x02 bInterfaceSubClass (Audio Streaming Interface)
0x20 bInterfaceProtocol
0x00 iInterface
Interface Descriptor:
0x09 bLength
0x04 bDescriptorType
0x01 bInterfaceNumber
0x01 bAlternateSetting
0x02 bNumEndPoints
0x01 bInterfaceClass (Audio Device Class)
0x02 bInterfaceSubClass (Audio Streaming Interface)
0x20 bInterfaceProtocol
0x00 iInterface
AS Interface Descriptor:
0x10 bLength
0x24 bDescriptorType
0x01 bDescriptorSubtype
0x02 bTerminalLink
0x00 bmControls
0x01 bFormatType
0x00000001 bmFormats
0x04 bNrChannels
0x00000000 bmChannelConfig
0x12 iChannelNames
AS Format Type 1 Descriptor:
0x06 bLength
0x24 bDescriptorType
0x02 bDescriptorSubtype
0x01 bFormatType
0x04 bSubslotSize
0x18 bBitResolution (24 Bits/sample)
Endpoint Descriptor:
0x07 bLength
0x05 bDescriptorType
0x01 bEndpointAddress (OUT Endpoint)
0x05 bmAttributes (Transfer: Isochronous / Synch: Asynchronous / Usage: Data)
0x00D0 wMaxPacketSize (208 Bytes)
0x01 bInterval
AS Isochronous Data Endpoint Descriptor:
0x08 bLength
0x25 bDescriptorType
0x01 bDescriptorSubtype
0x00 bmAttributes
0x00 bmControls
0x02 bLockDelayUnits (Decoded PCM samples)
0x0008 wLockDelay
Endpoint Descriptor:
0x07 bLength
0x05 bDescriptorType
0x81 bEndpointAddress (IN Endpoint)
0x11 bmAttributes (Transfer: Isochronous / Synch: None / Usage: Feedback)
0x0004 wMaxPacketSize (4 Bytes)
0x04 bInterval
Interface Descriptor:
0x09 bLength
0x04 bDescriptorType
0x02 bInterfaceNumber
0x00 bAlternateSetting
0x00 bNumEndPoints
0x01 bInterfaceClass (Audio Device Class)
0x02 bInterfaceSubClass (Audio Streaming Interface)
0x20 bInterfaceProtocol
0x00 iInterface
Interface Descriptor:
0x09 bLength
0x04 bDescriptorType
0x02 bInterfaceNumber
0x01 bAlternateSetting
0x01 bNumEndPoints
0x01 bInterfaceClass (Audio Device Class)
0x02 bInterfaceSubClass (Audio Streaming Interface)
0x20 bInterfaceProtocol
0x00 iInterface
AS Interface Descriptor:
0x10 bLength
0x24 bDescriptorType
0x01 bDescriptorSubtype
0x16 bTerminalLink
0x00 bmControls
0x01 bFormatType
0x00000001 bmFormats
0x04 bNrChannels
0x00000000 bmChannelConfig
0x16 iChannelNames
AS Format Type 1 Descriptor:
0x06 bLength
0x24 bDescriptorType
0x02 bDescriptorSubtype
0x01 bFormatType
0x04 bSubslotSize
0x18 bBitResolution (24 Bits/sample)
Endpoint Descriptor:
0x07 bLength
0x05 bDescriptorType
0x82 bEndpoinHi,
I have same issue with my device, but what's strange is that it's correctly detected under Yosemite but not under 10.9.4,
It's always detected as Generic Midi device under 10.9.4
Do you find the reason ?
Thx
Maybe you are looking for
-
MacBook Pro Core 2 Duo intermittent severe Airport glitches
My MacBook Pro seems to be unable to remain consistently synchronised with our Airport network. Every minute or two, it blocks wireless network traffic completely for 10-20 seconds. At other times, the ping times to our base stations fluctuate wildly
-
Select-option to restrict to single value
Hi, I have select-option for company code (i dont want to use parameter) and used no-intervals but it still displays right arrow which will allow users to enter more than one company code. is there any way I can supress this right arrow button. Regar
-
How do I copy a picture in PDF Format into Picasa
How do I copy a picture in PDF Format into Picasa
-
Premiere Pro 6 on Mac: Installation Damaged
Greetings - I just downloaded and installed PPro 6 on my Mac (Lion 10.7.3). When I start Premiere, I get a dialog that pops up and says that the installation is damaged and I should reinstall the app. I've done that, but I continue to get that same
-
I am having trouble doing multiple keyword searches in aperture. Say for instance I tagged a photo with the word "Bob" and then with the word "Park". If I search for just Bob or just Park, I get all photos tagged with one or the other keyword. But if