Some questions on interrupts, threads etc

Havng gone through some documentation on interrupt, kernel level threads etc in WDF, I got a couple of questions:
1)  Can a hardware interrupt be preempted by another interrupt in a single processor system?
2)  What exactly is the difference between thread preemption and thread interrupt? Doesnt both mean stopping the current thread and putting it aside?
3)  When an iterrupt is handled by an ISR, does the ISR always have to  schedule  a DCP? If the ISR itself can handle the interrupt, is the DPC needed?
4) I understand that spin locks are used for synchronisation at IRQL <=DISPATCH_LEVEL. EVT_WDF_IO_QUEUE_IO_WRITE works at <= DISPATCH_LEVEL. If I set Synchronisation scope of a write queue as SynchronisationScopeQueue, should I still go for a spin
lock, if the write callback and say an ioctl callback uses a shared resource?
5 )Kernel dispatcher objects are mutex, timer, event, semaphore etc. But If i use a fast mutex or guarded mutex or oridinary mutex using say, KeAcquireFastMutex() isnt that then a kernel dispatcher object? What this distinction?  Why should we go explicitly
go for kernel dispatcher object?
6) How can timers be used for kernel level synchronisation? How different is this from timers created using WdfTimerCreate()?
7)  It is said that "Never wait on a kernel dispatcher object in any driver routine that can be called at IRQL>=DISPATCH_LEVEL.". Does it mean
we should not use synchronisation mechanisms in this level? Or if we can use, should the thread try to acquire a lock with  a zero wait time? And proceed if it could acquire the lock and return if the lock was not acquired?
8) I understand that in order to execute an interrupt, a driver does not create any special threads but use a thread that happens to be running at the moment( arbitrary thread ) . My question is, in what way is this accomplished? What aspect of the arbitrary
thread is the interrupt using ? The arbitrary thread must obviously have been written for another purpose.

To answer the questions:
#1   An interrupt service routine (ISR) running a lower IRQL may be interrupted by another ISR running at a higher level.
#2   Having never heard of a thread interrupt, all I can say here is that a thread may be pre-empted for a lot of reasons.
#3   An ISR does not have to schedule a DPC unless it needs to do work that it cannot do at high IRQL.
#4   Assuming that the Write and IOCTL are on seperate queues, yes you need a a lock to protect shared resources.
#5   As the name implies kernel dispatcher objects allow scheduling (i.e. dispatching of another thread), while things like spinlocks do not. 
#6    Timers are just another dispatching object, i.e. one can wait on them the same way one waits on a mutex or a semaphore.  A WDF TIMER is basically a wrapper around a regular timer to take care of some of the housekeeping (particularily
with respect to stopping the driver etc)
#7     If a routine is running at DISPATCH_LEVEL you are limited to spin locks for synchronization. You can with a zero timeout check the status of a kernel dispatcher object.   In general, routines like this should be
designed to only use spinlocks.
#8    An arbitrary thread is just that, it may be a thread in any process. Basically a currently running thread is grabed and used to run the interrupt so that the scheduler which has overhead and is not designed to run at interrupt level
IRQL's does not need to run.
Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

Similar Messages

  • Potential new T61 user with some questions about product/su​pport/etc.

    Hi all!
    I've been using Dell Latitude's for last 7+ years and been happy with them thus far, as I was able to stay within the C-series thru 3 systems and reuse some components such as batteries, CD-ROM, etc. but now that I'd have to go to D-series, that gives me the choice of going to new vendor...and IBM/Lenovo was the only other choice due to my OS requirement: XP Pro!
    So now I'm here asking some questions that I'm still having issues with:
    (I'm comparing the T61 to Dell D530 and/or my C610)
    1) Features that I've used on existing Dell that I don't see on T61 :
        a) Infared port --- I've used to transfer stuff from one sys to another
        b) S-Video out --- I've used to display on TV for some situations  
        c) Serial port --- can't recall using it but with my luck, I'd need it sometime. 
        d) Parallel port (C610) --- for my really old printer used on rare occasions
        e) Floppy drive --- yes, I still use it for some unusual situations
    2) On Dell, I can put a 2nd battery or floppy drive in the media bay instead of CD/DVD...what about T61?
    3) Support:
        a) Dell forums have 7+ yrs of history and are well used...this forum seems brand new...was there another one before it?
        b) My Dell's have lifetime tech support (ok, so sometimes understanding the folks from India can be an issue) but IBM seems to limit this to life of warranty.
    4) Pricing: T61 would be seem to be, at minimum, about $150 more than similar Dell even with current "sales"...I'm having trouble justifying this...
    5) Things that I see that T61 has that new Dell D530 doesn't:
       a)  built-in mike --- my current Dell has it and I use it now and then so this is a plus!
       b) keyboard light --- nice feature, but couldn't I use a USB one instead if I really needed it?
       c) fingerprint reader --- never used one...how often do people use it?
       d) 2nd card slot for Express cards --- current Dell has two standard slots and I'm using both, though one is wi-fi which C610 didn't have built-in...and other is modem to replace failed built-in...D530 has only one slot, so having 2nd of any type is good.
       e) middle mouse button --- is that what I'm seeing? Or is it something else?
       f) recovery partition --- ok, nice but how much room does it take?
    6) Things that D530 has that T61 doesn't:
       a) 4th USB --- I'm used to only 1 now so even 3 would be big step up...
       b) 15" standard screen --- T61 is only a 14.1" screen and that extra bit of size would likely help, but I'm limited on physical dimensions to 13.5" total width (unusual situation) so a 15.4" wide screen isn't possible...I'm looking at SXGA+ in either case to maximize usage.
       c) recovery CD is standard --- so I'm presuming I'd have to create my own here?
    That, I think, about does it...so...any users willing to help me decide if a switch is good for me?
    Thanks!!!
    Update: It seems that phone tech support is only available for warranty period with IBM, whereas with Dell, I can still call for hardware tech help (to diagnose problem at least) for "lifetime" or well past paid period, as I've already done in past...comments?
    Update #2: Changed the incorrect "R"s to "T"! Duh!
    Message Edited by J_Hallgren on 12-28-2007 07:50 PM
    A current Dell Latitute user who was looking to maybe switch...But didn't.

    I finally made the switch to Lenovo and the Thinkpad line of notebooks and think this was the best move I have ever made in years! I've spent far too much money maintaining a separate notebook (Dell Latitude L400) several custom built desktops.  This December, I sold my desktops, my laptops (I had 2 L400's), and my 20" Aquous LCD TV to finance my Thinkpad T61.  It was well worth it!  I will try to answer your questions in this checklist, which I found to be quite similar to my own .... frighteningly exactly like my own....:
    Hardware Requirements
    IR: This is pretty outdated but functional.  I used to use a Palm with IR as well as an IR laser printer.  I ditched both for a PDA phone with bluetooth.  The laser printer is networked now
    S-Video: You might be able to get away with a TV tuner cardbus or a expres card.  There might also be external converters that convert from your VGA/DVI (DVI via port replicator) into any variety of video outputs.
    Serial: My older Palm had a serial port for the docking station - bluetooth is a good replacement
    Parallel port: I currently have a USB to parallel adapter in my bag just in case.  These are cheap cables and work well.
    Floppy: I keep a USB one of these just in case.  I find that having fewer input devices on my laptop and leaving them external help keep the machine lighter for my mostly mobile usage (e.g., my L400 with no inputs at all except 1 USB port).
    T61 Spare Battery: Uses ultrabay battery - I rarely use the DVDRW drive and leave the ultrabay battery in there while on the go.  DVDRW drive stays in the bag until needed.  I recommend you upgrade to the 9 cell battery with the advanced ultra bay battery, which will give u something like 9 to 12 hours of operating life.  If you are not a fan of the battery pack sticking out like crazy, stick to the letter box format laptop (not widescreen), which will provide the minimum amount of battery pack stick-out with the 9 cell battery.  The 6 cell will not stick out with the letterbox laptop but will stick out with the widescreen version.
    Support Options:  I rarely call support so I have no opinion here.
    Pricing: Price was not really a concern for me.  I purchased mine for the business look mainly, which Lenovo maintained well.  I don't like the shiny/plastic/toy look of Dell and Apple computers these days.  If anything, consider the premium an investment in the build quality of these machines (or a premium just for the good looks).  I particularly like the roll cage as well as active protection system that stops the hard drive as soon as the system detects excessive motion. 
    Included Hardware Comparison:
    I like the mic, use it often for Skype and the built in 1.3MP webcam as well. 
    Keyboard light.... kinda cute but not as functional because it simply is too small.  It was a cute idea that could have been made better had Lenovo opted for a backlit keyboard instead.  That would have been more functional and added to the "cool" factor. 
    With regards to the Express Card and PCMCIA card slot, I rarely use either because everything is built in.  However, if you want that TV tuner, an express card or PCMCIA card slot is good.  If you opt for the built in media reader, you will be unable to use the express card as the media reader takes up that slot (I might be wrong, but I think the card reader is large enough that it takes up both slots, so u can't add anything anyway - but you should call pre-sales to answer that question). 
    Middle mouse button: The three buttons in the middle are used for the trackpoint/joystick mouse controller.  I think the middle button is configurable to do various things.  I personally hate the joystick and can only use the touchpad.  The lack of a touchpad was the only reason I did not stick to the smaller 12.1" X line of laptops, which was really more in tune with my size requirements (too used to using the L400 sized machine).
    Recovery Partition: This is a cheap way for manufacturers to make it easy for people to recover their systems in case of crash - without the need for any documentation or disc media.  However, it makes it hard for people like me who only use machines after a clean format and customized install of Windows.  This partition is about 10GB and can be erased with special disk format or partition tools.  Windows itself cannot read or delete this partition.  With the minimum size of the hard drives available, this should not be an excessive space killer for most people.  I personally need only 7GB total for OS and apps.  The remaining data I work with is actually streamed from a 500GB gigabit NAS.  I might switch to a 32GB solid state disk one of these days when their performance comes more in par or exceeds traditional drives.
    Recovery CD: You can create your own from the recovery partition since Lenovo does not provide any.
    4th USB: I only use 1 or 2 as well.  1 for an external micro mouse (I love my touchpad, but it's just hard to use with Photoshop or CAD apps) and a second for a USB memory key.  My other devices i.e., scanner, external mouse, keyboard, are plugged in on my desktop through a USB hub that goes to a single port on my docking station.  So yes, your docking station will probably remove the need for more than 2 ports.  Although, I do find it odd there are only 3 ports... such an odd number.
    Screen Size: I personally wish I could have gotten the X series of laptops but the 14.1 was the only other mobile solution.  For the larger screen size, docking station to my 24" Dell 2405FP.  The compact nature of the T series makes it pretty thin and compact though... it was not too much bigger than my L400 - at least, not uncomfortably bigger.
    But yeah, I think if you make the switch, you'll be getting yourself a solid machine that will keep u going for years.  The Latitude line of Dell's were really good, but overall, I feel that the nature of Dell's manufacturing process is making it too "cookie cutter" and reducing its overall quality level.  Their earlier lines were awesome, like the D lines you mentioned.  But unless you get the ATG line, you just won't get the same level of quality they used to offer (in addition, the ATG line is wickedly too expensive - I'd rather get a Durabook for military grade spec at a fraction of the price). 
    Anyway, have fun shopping! :-)
    And moderators or employees of Lenovo, don't you guys get referral bonuses for giving your employee discount code to friends and family?  *wink*
    T61_Wide | Model No. 7662 - CTO
    Core 2 Duo T7250 | 2GB OCZ DDR2-800
    82566MM Gigabit | 4965AGN Centrino Pro

  • Some question on thread

    i think threads are unpredictable.say, the following code. some questions on the code.
    public class Rpcraven{
         public static void main(String argv[]){
         Pmcraven pm1 = new Pmcraven("One");
         pm1.run(); // line1
         Pmcraven pm2 = new Pmcraven("Two");
         pm2.run();  // line 2
    class Pmcraven extends Thread{
    private String sTname="";
    Pmcraven(String s){
         sTname = s;
    public void run(){
         for(int i =0; i < 2 ; i++){
              try{
               sleep(1000);
              }catch(InterruptedException e){}
              yield();
              System.out.println(sTname);
    }question 1 > note line 1 and line 2 . does this two threds are staarted at the same time ? or line 1 first and line 2 second as in the code ? this is very much important to me.
    question 2 > ok, whoever goes first , now lets come to the try-catch block . there is sleep() who will sleep first ? so i need to know which thread is going to sleep first ? bcoz then i can say who will get the yield() method.
    i find difficult to predict the output of this thred.
    Output of One One Two Two.
    one more thing, threads are always called by start() method ( run() is called implicitly) . here start() is not usued . still the code is working . how ?

    question 1 > note line 1 and line 2 . does this two
    threds are staarted at the same time ? or line 1 first
    and line 2 second as in the code ? this is very much
    important to me.If it's important, you are doing something wrong...
    First, you shouldn't call the threads' run() method, that doesn't "start" the thread, it just calls run(). Use start() instead.
    The threads are sort of started in order, but probably not in the way you think.
    Think of it like this: there is a list of threads in the JVM. start() puts the thread in the list. After that, the CPU of your computer can run any thread in the list, for as long as it feels like. The CPU might run thread 1 for a few instructions, then thread 2 for a while, or it might start with thread 2, ... If you have a multi-CPU machine, the threads are run at the same time. It's unpredictable, except when you do explicit synhcronization or waiting.
    question 2 > ok, whoever goes first , now lets come to
    the try-catch block . there is sleep() who will sleep
    first ? so i need to know which thread is going to
    sleep first ?This is unpredictable. You can't know it. It will vary from run to run.
    If you need two threads to do something in a predictable order, you'll need to do synchronization and waiting.
    one more thing, threads are always called by start()
    method ( run() is called implicitly) . here start()
    is not usued . still the code is working . how ?You are not starting the threads, you are calling their run() methods sequentially.

  • Some Questions on Adobe PDF Forms

    Hi,
    I have some questions on Adobe Forms development (especially Adobe Forms in ABAP)
    1)     In a form interface, in the Code Initialization can we use Object Oriented Syntaxes such as class method calls, etc?
    2)     Can we declare Global Data variables with reference to Class References / Interfaces
    3)     Can we use the latest ECC 6.0 enhancement framework to add code in the standard form interface to enhance / enrich some logic within the form? This is to avoid copying the form interface into a Z in order to enrich the form via coding?
    Please let me know if this is possible at all and how
    Will award points
    Thanking You in advance
    Regards,
    Aditya

    That is possible of course. You should use the PDFObject API for that requirements.
    1. define a xml schema with all data given by SAP system.
    2. create a form template which uses this schema as data connection
    3. implement a java application (i.e. J2EE application) which:
    - gets the data from SAP system and generates some pdf files (using PDFObject API)
    - reads pdf files back to xml and submits the data to a BAPI
    Regards
    Sebastian

  • Some questions on versioning and synchronizing metadata

    Hy all!
    I am quite new to warehousing and Oracle Warehouse Builder, and so i would have some questions regarding on some common issues. I would appriciate if you guys would who have experience in this domain to share some good practice knowledge :)
    I am using OWB 10.2
    So first of all i would like to know if you have some proposal of the way of versioning control and synchronizing projects between team memebers when working on a bigger project, team memebers that don't work on the same repository (cause i saw that OWB has an integrated multiuser support for handeling object locks and user sessions).
    I saw that a way of migrating data from one place to a nother is using the import/export options integrated in OWB. This creates mdl files wich are some kind of "dumps" of the metadata informations, but the thing with these mdl files wich i don't think is a good way to synchronize is that first of all the .mdx and .xml files contained in the .mdl (wich is kind of a zip) contains many informations in it (like creation date, some timestamps, etc) wich are always updated when exporting, and if synchronizing these files maybee using CVS, we always will get differences between the files alltough they would contain the same thing, only timestamps changed.
    Then a nother issue with this, is that we could have 2 alternatives: dump the whole project, wich is odd to have to synchronize a single file between users, especialy on a big project, then the orher way would be doing for each object from the project (each mapping, each table, etc) an separate .mdl filem then to synchronize each file of each object, wich will be unefficient on reimporting each file in part.
    So please if you can share the way you work on a big project with many implementers with OWB, i would really appriciate.
    A nother thing i would like to know is: is there a way to generate from an existing project (like one created with OWB) the OMB commands dump (maybee in a tcl script)? Cause i saw that the way the exeprienced users implement warehousing is using TCL with OMB language. I downloaded the example from oracle for warehouse project, and i saw that is entirely made from tcl scripts (so no mdl file involved). And this i think would be nice, to have the OMB commands generated from an existing projects.
    I see this OWB projects like a database wich can be built up from only OMB commands and OWB a graphical tool to do this (same as constructing a database only from DDL commands or using SQL developer to do this), this is why i am asking about a way of dumping the OMB commands for creating an OWB project.
    Please give me some advices, and correct me if i sad some dumb things :D but i really am new to warehousing and i would really appriciate if you guys with experience could share some informations.
    Thank you verry much!
    Alex21

    Depends. Having everyone working on the same project certainly simplifies things a lot regarding merging and is generally my preference. But I also recognize that some projects are complex enough that people wind up stepping on each other's toes if this is the case. In those cases, though, I try to minimize the issue of merging changes by having common structural objects (code libraries, tables, views, etc) retained in a single, strictly controlled, central project schema and having the developer's personal work areas reference them by synonym, thus being unable to alter them to the detriment of others.
    If they want to change a common object then need to drop their synonym and make a local copy which they can alter, and then there is a managed process by which these get merged back into the main project schema.
    This way any changes MUST go through a central schema, we can put processes in place to notify all of the team of any impending changes, and can also script updates across the team.
    Every hour a script runs automatically that checks for dropped synonyms and notifies the project leader. It especially checks for two developers who have built local copies of the same object and notifies each that they need to coordinate with each other as they are risking a conflict. When a structural change is submitted back to the central shared schema, it is added to a batch that is installed at end of business and a list of those impending changes is circulated to the team along with impact analysis for dependencies. The install script updates the main schema, then also drops the local copy of the object in the developer's schema who made the change and re-establishes the synonym there to get back to status quo for the change monitoring. Finally, it then updates itself in all of the developer areas via OMBPlus. So, each morning the developers return to an updated and synched environment as far as the underlying structure.
    This takes care of merging structural issues, and the management of the team should minimize other metadata merging by managing the worklist of who is to be working on a given mapping or process flow at a given time. Anyone found to be doing extraneous changes to a mapping or process flow when it is not in their job queue without getting pre-approval will be spoken to VERY firmly as this is counter to policy. And yes, OWB objects such as mappings are then also coordinated to the central project via import/export. OMBplus scripts also propogate these changes daily across the team as well.
    Yep, there is a whole lot of scripting involved to get set up.... but it saves a ton of time merging things and solvinv conflicts down the road.
    Cheers,
    Mike

  • Some questions regarding ESB system.

    Hi all,
    I've used my ESB system for a few months now, so I thought it would be interesting to look at what's going on in my database schema created by my esb system (oraesb). This led to some questions (and raising eyebrows), I hope some of you soa-experts might have an answer.
    * Is my system installed properly:
    I noticed that the oraesb schema created by running IRCA.zip installs only tables, views, topic queues and 1 procedure (create_queue). However, looking at the sql scripts in ${soaSuite_home}/integration/esb/sql/oracle there are far more stored procedures defined. Is it normal cq. okay that these objects are not installed or is my esb system faulty?
    * No constraints or indices:
    My system is yet very small, so it is still performing good/fast. I imagine that when the esb system is going further, performance and locking becomes an issue due to lack of indices on foreign key columns and primary/foreign constraints.
    * Only small part of schema used:
    When browsing through the tables of the oraesb user I notice that only a few tables are filled with data. For example all "Slide Tables" (this is the name given to these group tables in file ${soaSuite_home}/integration/esb/sql/oracle/wfeventc.sql) are empty. Is this normal? What kind of processes should enter data in these tables? What is the use of the "Slide tables"?
    * AQ-tables not being used:
    My esb system has five aq-queue tables (esb topics), but they are never used! I recall another thread on this forum about these queue tables growing enormous in size. I guess there must be a sort of switch somewhere to switch between jms-queue's and aq-queue's? Can anyone please explain how switch on the aq-queue's or point me to the proper documentation. I must have overlooked this in the documentation.
    Kind regards,
    Happy new year,
    H

    When your podcast is accepted you should receive an email telling you this and giving the URL for its page in the iTunes Store. The string of numbers at the end is the ID number.
    It usually takes somewhat longer for a new podcast to appear in the search results. Once you can find it by searching on the title, you can get the Store page URL, if you still don't know it, by control-clicking on the podcast image (or where it should be) and choosing 'Copy Podcast URL'.
    You may find this page helpful in giving you basic information about podcasting:
    http://www.wilmut.org.uk/pc

  • Some questions about the integration between BIEE and EBS

    Hi, dear,
    I'm a new bie of BIEE. In these days, have a look about BIEE architecture and the BIEE components. In the next project, there are some work about BIEE development based on EBS application. I have some questions about the integration :
    1) generally, is the BIEE database and application server decentralized with EBS database and application? Both BIEE 10g and 11g version can be integrated with EBS R12?
    2) In BIEE administrator tool, the first step is to create physical tables. if the source appliation is EBS, is it still needed to create the physical tables?
    3) if the physical tables creation is needed, how to complete the data transfer from the EBS source tables to BIEE physical tables? which ETL tool is prefer for most developers? warehouse builder or Oracle Data Integration?
    4) During data transfer phase, if there are many many large volume data needs to transfer, how to keep the completeness? for example, it needs to transfer 1 million rows from source database to BIEE physical tables, when 50%is completed, the users try to open the BIEE report, can they see the new 50% data on the reports? is there some transaction control in ETL phase?
    could anyone give some guide for me? I'm very appreciated if you can also give any other information.
    Thanks in advance.

    1) generally, is the BIEE database and application server decentralized with EBS database and application? Both BIEE 10g and 11g version can be integrated with EBS R12?You, shud consider OBI Application here which uses OBIEE as a reporting tool with different pre-built modules. Both 10g & 11g comes with different versions of BI apps which supports sources like Siebel CRM, EBS, Peoplesoft, JD Edwards etc..
    2) In BIEE administrator tool, the first step is to create physical tables. if the source appliation is EBS, is it still needed to create the physical tables?Its independent of any soure. This is OBIEE modeling to create RPD with all the layers. If you build it from scratch then you will require to create all the layers else if BI Apps is used then you will get pre-built RPD along with other pre-built components.
    3) if the physical tables creation is needed, how to complete the data transfer from the EBS source tables to BIEE physical tables? which ETL tool is prefer for most developers? warehouse builder or Oracle Data Integration?BI apps comes with pre-built ETL mapping to use with the tools majorly with Informatica. Only BI Apps 7.9.5.2 comes with ODI but oracle has plans to have only ODI for any further releases.
    4) During data transfer phase, if there are many many large volume data needs to transfer, how to keep the completeness? for example, it needs to transfer 1 million rows from source database to BIEE physical tables, when 50%is completed, the users try to open the BIEE report, can they see the new 50% data on the reports? is there some transaction control in ETL phase?User will still see old data because its good to turn on Cache and purge it after every load.
    Refer..http://www.oracle.com/us/solutions/ent-performance-bi/bi-applications-066544.html
    and many more docs on google
    Hope this helps

  • Eternal ball, flashing question mark, kernel panic, etc... all! HELP!

    Think this is a good, one... Here is the story:
    Some apps will crash, that always happens, right? So I did not pay much attention to it until it was way too often. Learned about disk utility, repaired permissions on a regular basis and moved on. But then... One day disk utility told me there was something that could NOT be repaired. I ran and bought an External HD (usb.. not a good choice, but I found out that too late for an exchange). Backing up from there on was kind of a weekly thing.
    But nothing to worry about, I could still use my iBook pretty well and with no problems. Then... one fine day I could not SAVE ANYTHING! Everything was working "normal", but when I wanted to save my work. It told me that I could not do it! Not even making a new bookmark from Firefox!
    So I did verify and repair from disk utility, and I ran the hardware test giving me the following:
    *ERROR CODE: 2STF/8/3:ATA -100 ata -6 -Master*
    I have no idea what that means, but I used it to look for help online and everything pointed out that my HD needed to be replaced. I believe at this point is when I met the flashing folder icon with the question mark. Suddenly it would not detect the HD! But then... after turning it off and on for a few times it would see it and start-up normally. In one of those lucky start-ups I backed up all I thought was important in the external HD and made a clean install of OS X. Oh... and it is fun to try to install OS X when.. there is no HD in the list to pick for your destination! After a lot of patience, it would show up, but then is when I met the kernel panic mesg! After a few more tries (yes, I am a very patient person... sometimes), I finally could make a clean install of OS X. I even partitioned the HD to make sure there was nothing there.
    Ok... seemed like it liked it.. but after a little while, strange things happened again, and after the restart, the blinking folder with the question mark again...
    So... no choice, have to replace my HD right? I get a brand new Seagate, 120 Gb, 5400 rpm. Followed instructions from ifixit.com and after 3 hours (and a lot of fun!) I replaced the hard drive on my beloved iBook. This was really fun!
    Installed the software on the new HD.. everything looks fine... for a few minutes. I tried to use right away what I use everyday to see if it works: web browser, iTunes, Activity Monitor, played a dvd perhaps, etc... And..? Nop... started crashing again... Got the blinking question mark after restart, etc. But now.. the hardware tests reports me no problems.
    Ok... it was not the HD, but I already bought one, and installed it myself!... lets move on and see where is my problem.
    Could it be the ram?
    This model has only one slot of removable ram, and a built-in DIMM that I cannnot replace +(or can I?)+, so I remove the one I can, and restart it without it. First it looks fine again, everything is working, but after a while it starts crashing again. So.. it's not the ram... or at least it's not +this one+.
    So... I think its time for a Professional to take a look at it, right?. So I took it to a Mac Store (not Apple store) and explained EVERYTHING to the guy that received my beloved iBook, he takes notes and tells me that it has to stay for a few days. After 1 week I receive a call from the store (another employee) telling me the sad news that my HARD DRIVE NEEDS TO BE REPLACED! And that they were very sorry but they cannot recover any of my data... what data?? All that was there was the OS!!!
    So... a deep breath and I explain to him everything over the phone. Ok.. he says he will talk with the tech-guy and I'll hear from them in a few more days. I did...
    I was very glad to hear it was a cable that connects the HD to the Logic Board (that's what I understood.. I think). That this was only 20 dollars, but somehow, with the labor I ended up paying around 100 dlrs! I found out later that apple changes this cable everytime they upgrade a HD.
    Ok.. 200 dlrs spent already ($100 on my Seagate HD + $100 for the cable..), but if get my iBook to work again I'll be happy.
    So I go home and start to work on installing and making everything work again: firefox, iTunes, fugu, tried cyberduck, taco, ... everything looked fine. But after a while... it happened again. Sometimes I don't even get the blinking folder, just a grey screen. I turn it off, and then comes the blinking '?' or it starts-up... and if it does, after a while it would crash.
    (I started this post on my iBook, and I was like 2/3rd's through when I got the ball... and no response at all... tried force-quit... and nothing, had to power off..AND start this post all over again on my girlfriend's!!! )
    So here I am... Of course I want to take it back to the guys at the MacStore and
    complain about their poor job... But does anyone here has a good idea of what could it be?
    My thoughts are something like this: Seems like if you do not use a lot of memory (I only have 512 Mb total, so a lot of it comes from the virtual, right?) it works fine, but somehow if it reaches a point where it needs more than a certain amount it would crash. I dont know if this even makes sense, but that's my feeling. The guys at the MacStore told me that they tested around 100 times restarting the computer and it looked fine, so yeah... if all they did was use a software to restart once and again, and again... without really using the memory, they would not see the problem, right? The problem comes later.. when you use the iBook.
    Could it be then that the problem comes from the ram that is built-in? If so.. can this be replaced? Is it worth it? Can I do it myself?
    Too many questions...
    Any thoughts would be more than welcome and...
    Thanks for reading all the post!
    E

    yeah....
    the problem is that I do not have a firewire external HD, and it will not boot from my usb external...
    Anyway... I am back from the MacStore and the guys told me that the next step would be to replace/work on the logic board, and that that was too expensive a job to do an an old iBook like mine, they did not recommend it to anyone (they told me they charge between 600-800 dlrs for this kind of job).
    So... seems like my iBook is in a very bad shape.
    I saw DT&T online and it seems like they do the job for half the price of the MacStore (before shipping costs), but... still, is it worth it?
    I was thinking in the possibility to find someone who sells a used iBook in pieces because of a crashed screen or something, to get another logic board and try to replace it myself, but... is this something an amateur can do by himself?
    Haven't checked ifixit.com for that yet.
    Any ideas??
    Thanks..
    Edgar

  • I'm going to install Arch this weekend but I have some questions

    Currently I use Linux Mint on my primary PC, but I've installed Arch on my older PC at my parents house.  I like it a lot and I think I want a distro that is rolling release and also that I build myself (as opposed to installing all of the bloat on Mint).  However, I do have some questions; Linux is pretty new to me (been using it since about November) so I don't know exactly how everything works.
    1)  How do I know what packages I have to have installed for building C/C++ programs?  I know in Ubuntu install gcc/g++ by itself doesn't get the job done, you need build-essential to get all of the libraries.  Also, what packages do I need for OpenGL and SDL?  I'm a CS major and I'm in an OpenGL class so I need to be able to compile OpenGL programs; SDL is for my own purposes, but I'd still like to have it.
    2)  I use Amarok to transfer songs to my iPod.  Amarok 1.48 and libgpod 0.6.0 are in the repos and I know both of those are compatible with my 6th gen.  However, I do have a question about transferring album art.  On Mint, Amarok transfers the album art as I transfer the album, but someone told me that Amarok doesn't do that by default; there must have been a setting changed somewhere to do that.  I looked through Amarok's options and didn't see anything like that... anyone know if I can do that in Arch, and how?  There's no real information about Amarok in the wiki.
    3)  I'm going to use Gnome environment but some KDE apps (like Amarok).  Will there be any problems with that that I should know about in advance?
    I'll probably have some more questions once I actually install Arch, but that will do for now   Those are the important ones.

    1) You know by seeing its dependencies on pacman or by the developer documentation. Unlike other distros, you don't need to install dev packages. Example: You have gcc and all the basic gnu tools installed, and you want to compile a program that is not in a arch linux package yet (if theres a package, you can build it using abs / makepkg and pacman will handle the dependencies) and requires, for example, a library called "xyz", you only need to download "xyz" from pacman, and all the dev stuff will come together (like header and etc).
    I hope it helps.

  • Some questions for ressources provisionning.

    Hello people.
    I'm currently playing around with LDoms on a new brilliant shiny T5520 and I have some questions about.
    My actual configuration is the following:
    - 1 T5520 Server with 32 Gb RAM and a 8 cores 64 threads Niagara T2
    - 4 SAS 143 Gb disks on controller 1.
    The disk are mirrored using raidctl in two pairs of raid 1, c1t0d0 and c1t2d0.
    The primary OS is installed on c1t0d0 and I plan to use ZFS for creating vdisks LDoms guests on c1t2d0.
    I have access to a netapp but only with iscsi and nfs.
    So, the questions:
    - Does it make sense to use ZFS on hard mirrored disks ?
    - Is it best to add the two disks non mirrored to my ZFS pool and backup snapshots on the netapp ?
    - Does my LDoms needs more memory that I planned ? Each guest will have between 2 Gb and 4 Gb for the bigger. I will have, at the beginning 4 or 5 guests for testing / integration, LDAP / DNS services, Licences services, Web Portal, and, maybe, if I could convince my boss a little SPARC Gentoo Linux, just for fun :)
    Thanks :)
    PS: Forgive my poor English, I'm a French bas***d guy :)

    You mean T5220, great machine anyway :)
    - RAID hardware is supposed to be faster than ZFS, but ZFS offer more functionalities.
    - you need both mirroring and backup, even if nice, ZFS snapshot cannot replace a backup software.
    - Keep a free memory pool not allocated and ready to increase the RAM size of a LDOM (rebooting the LDOM will be necessary). And hum... use it to play with linux for sparcs :-)
    Regards

  • Some question on IDOC (Control Record/Data Record/Status Record)

    Dear all,
    I am new in this area, and would like to enquire some question on this topic.
    When I view a IDOC via WE02, each of the IDOC record will consist of Control Record/Data Record/Status Record).
    Questions:
    I notice that the data records consists of many segment (i.e. E1EDK01, etc) which are use to store application data.
    1 - My question is do I have to manually create all these segment and do a mapping to my application field one by one (i.e. that is when I want to create a brand new message type from scratch)?
    2 - If question no. 1 is Yes, how to do it, what are the transaction code to create it? can you show me the step by step.
    3 - I don't have to create the Control record and the status record for my new message type right ? because those field value will automatically pull out from partner profile and system status message, am I correct?
    Thanks.
    Tuff

    Hi Tuff,
    As everything in SAP, with IDOCs too there are
    1) Standard IDOCs
    2) Standard IDOCs(Extending - Enhancement to an IDOC, to accomodate for custom values)
    3) Custom IDOCs
    And every IDOC has,
    Control record - EDIDC Structure - This mostly reflects the partner profile information, along with few more details which are used for IDOC extension, Sequencing etc
    Data Records - EDID4 Structure - These records contain the actual business data of the document in concern. So for ORDERS05 it would contain order details, INVOIC02 - Invoice details so on...
    Status Records - These records capture the status of an IDOC from the time it is received/sent from your system and a corresponding business document is created/changed. So this will have messages like "IDOC sent to the port OK" etc which are status from the communication layer(ALE) to application specific messages like "Sales Order XXX created" or "Invalid Material" etc.
    You would have noticed something called as Process code in the partner profile, this is associated with a FM(or work flow task etc) which has the business logic coded in.
    So in case of an Inbound IDOC, the sending system updates the IDOC - Control and Data records, and sends it to the receiving system. On the receiving system the IDOC's control record is validated against the partner profiles set, if an entry is found then using the process code it finds the associated FM which will decode the data from the IDOC data records as per the IDOC type and then use it to post data into SAP (VIA BDC, Batch Input, BAPI etc).
    And all this while the Status records are being updated accordingly.
    So with the above context will try to answer your questions,
    1 - My question is do I have to manually create all these segment and do a mapping to my application field one by one (i.e. that is when I want to create a brand new message type from scratch)?
    In case of a custom IDOC, yes you will have  to.
    In case of a standard IDOC, you wouldn't have you just have set up the necessary configuration (Partner Profile, Process code etc)
    In case of a standard IDOC extended to accommodate for some custom values(for which there are no fields in standard IDOC - Let us say you have added some new fields on VA01) - In this case you can still use the standard Process code and Standard FM associated with it, SAP provides several Function exits in these FM's which you can leverage to add your custom logic.
    2 - If question no. 1 is Yes, how to do it, what are the transaction code to create it? can you show me the step by step.
    There are several documents available on the net and on SDN detailing step by step approach for all the above three cases,
    just search for step by step guide for IDOCS - sap.
    3 - I don't have to create the Control record and the status record for my new message type right ? because those field value will automatically pull out from partner profile and system status message, am I correct?
    Again it depends, in case of using a standard IDOC you wouldn't have to. But in case you have some customizations/enhancements then you might have to.
    For Ex: updating the control record accordingly for indicating that you have extended the standard IDOC. Or append custom messages to the status record as per the business logic.
    Try out the examples you find on the net and post any specific questions you might have.
    Regards,
    Chen

  • I have some question on "Use LabVIEW to Control two DSP and RTDX"

    I have some question when writing LabVIEW. I have DSP6711 and DSP6416, I use RTDX to send data to LabVIEW.
    I write three programes for LabVIEW, one is RTDX for DSP6711, another is RTDX for DSP6416, and the final is RTDX for two DSPs.
    The program of LabVIEW is workable when doing DSP6711 or doing DSP6416. But there is some problem when running DSP6711 and DSP6416 on LabVIEW at the same time.
    How to tell the LabVIEW's tool of " RTDX read" to  get the datas from different DSP

    What you want to do should be fairly straightward and a good way to learn labview. 
    First off, if you haven't already, I would download the drivers for the Keithley and Agilent instruments.  I found the keithley drivers at the link below.  You will need to find the labview drivers for the Agilent PS at their website.  Drivers are the VI's you will use in your program to control the insturments.
    http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E90B0659CE034080020E74861
    If you open Labview and go to the help menu and click on Labview bookshelf there is alot of information on getting you started coding labview.   This should get you started, if you have anymore questions just ask in this same thread and I am sure you will get all the help you need.
    Brian
    Message Edited by BrianPack on 09-14-2005 05:21 PM
    Message Edited by BrianPack on 09-14-2005 05:21 PM

  • Some questions on the Sleek

    Hey there. I have some questions regarding the Zen Sleek, since I may get one to replace my Zen Xtra.
    First of all, how much does it cost to have the battery replaced? I've heard/read that you cannot do it yourself (which irks me to know end), but I haven't found anywhere what it would cost to have it sent in once the battery is dead.
    Second, does the unit scratch easily? I don't want to buy an ugly, bulky case for it (since that's all that seems to be out there for anything that's not a Micro), but if the Sleek scratches as easily as the iPod, I may be forced to.
    Thanks in advance for your help.

    cera wrote:Thanks SSR, I'll have to look into the battery replacement program. I've read up on the CreativeCare protection plan, and it SEEMS that the battery would be covered under it. I'll have to e-mail or call and check.
    I know the battery is covered under warranty, but it certainly shouldn't die ordinarily during that period.
    I've left the screen protecting sheet on my Zen Xtra, and it's in great shape, so unless it becomes obnoxious, I think I'll end up leaving it on the Sleek as well. I may look into buying a case, or possibly just making my own.
    There are some threads on cases for the Sleek so it's worth searching back. Creative often fail to launch a case as an accessory, or certainly to launch one at the same time as the player is released. This is a great shame, aside from not bundling a good case with the player, as it keeps the player looking good and may well end up making it last longer.
    This is completely off topic, but I just realized that you wrote/host that excellent Donnie Darko FAQ. It helped me a lot when I first saw the movie and tried to figure it out.
    Glad it helped

  • Some questions on EJBs

    hi, i am an intermediate javaee developer but i have some questions on EJBs. sometimes i wonder why do i want to use EJBs in an application. if possible please use some illustrations.
    1) What problems do EJBs both session bean and message driven bean solve respectively. like what was the motivation behind creating ejbs.
    for ex, someone complained to me once that an app his company wrote took time to load large sets of data, and he asked if he should use EJBs, and i am like, does an EJB load data faster? though i think i said it could help, not because i was sure, but because u know the "Biig EJB", it has to solve it.
    2) why do people compare spring and ejbs, and sometimes prefer spring over ejbs.
    3) in what situations could an EJB be neccessary/advantageous, and what are the disadvantages if any.
    thanks.

    java_everywhere wrote:
    1) What problems do EJBs both session bean and message driven bean solve respectively. like what was the motivation behind creating ejbs.
    for ex, someone complained to me once that an app his company wrote took time to load large sets of data, and he asked if he should use EJBs, and i am like, does an EJB load data faster? though i think i said it could help, not because i was sure, but because u know the "Biig EJB", it has to solve it.It doesn't solve any problems, it is a framework that you can use to make your development (and maintenance) cycle easier IF you use it properly. For example, you get integrated JMS support through message driven beans, no extra work needed there. You get container managed transactions, which made my life a whole lot easier once I got over that phase of thinking the server is responsible for everything (it is not, you are still in the driver seat when it comes to transaction management). As part of that transaction management you get out of the box ORM support through the JPA specification. You can take advantage of the load balancing features of the server for heavy weight applications. etc. etc.
    In essence you shouldn't think in terms of what EJB technology gives you; what does the entire JEE platform give you, of which EJB technology is only a component?
    >
    2) why do people compare spring and ejbs, and sometimes prefer spring over ejbs.A real world example: when putting together Ikea furniture you can usually get very far with only using those little tools they give you in the package. However, sometimes you are forced to use a screwdriver, a hammer or a drill. And sometimes you use a screwdriver to keep something in place while using the little Ikea tool to put in a screw. Combining the screwdriver and the Ikea tool usually stems from experience where using only one of them took so much longer and was so much more frustrating to get the things done.
    Interesting how real world examples usually translate to software development as well. Why would you limit yourself to using only one tool when combining tools could give you more flexibility and could solve a problem easier because you use the strengths of both to compliment each other?
    3) in what situations could an EJB be neccessary/advantageous, and what are the disadvantages if any.All technology exists because there was some need for it. Need rises from requirements, so this question is not answered right here and now - it should be asked on a per project basis. I have this project with these requirements, how could EJB technology help here? How could Spring help? How could Struts 2.0 help? etc. etc.

  • Some questions 865 pro

    hello i want a 865 pro, but i have some questions,
    1. Can i use the remote control that include in windows xp or windows media center??
    2. 865 pro has not s-video out, how can i use the hi-fi, dvd player, etc, on a tv? Can i install a video card with s-video out??? .
    Thanks

    that, i do not know. so hang around, maybe one of your fellow 865PRO users will assist you

Maybe you are looking for

  • Help needed with Avid AAF to Premiere Pro CC (w/wo/AE in the loop)

    Folks, I am taking over a feature film edit to finish in Premiere Pro. I want to use AE's Pro Importer to convert the Avid edit (AAF export) to an AE session and then export to PP CC. The 1st editor was cutting with Avid Media Composer. All the sourc

  • New-line character in stacked message pop-up

    I have run into a brick wall with this situation-- Our clients are running Client/Server Forms 6i, and Web Forms 6i using Patch 10. They are about to upgrade web forms to the latest version 9.0.4.1.0 (10g). We have a few PLL routines that use the sta

  • My Rhomba is not working..JUST HELP ME!!!!!!!

    I have read all rhomba faq's and stuff like that, but my player is not starting anymore... I formated my player because it deleted like 4/5 for my songs and showed me that my player memory was full.. after then, i formated it with normal right click

  • Sybase stored procedure call

    I have a strange behavior when call a sybase stored procedure. Basically, I need to call it three times, each time with different first parameter value. The first two times are ok, but the last time I got the following error -------------- error ----

  • Can I upgrage from Elements 11

    I would like to up grade from Elements 11 and Premiere to Elements 13 but without the Premiere section. Can this be done as an up grade?