Package in all_objects shows invalid but compiles fine

I have a package with 2 procedures. the package compiles fine and executes without error.
when i looked at dba_objects, it showed the package and 2 procedures within as invalid. i compiled the package through sqlplus and the package name dissapeared from the list of invalid objects but the procedures remained.
any body have any idea what could be causing this?
10.2

Even though you've got it sorted now, remember the following.
A package can have an "invalid" status without actually having any errors in it.
If an object changes (i.e. table dropped and recreated etc.) that the package has a dependency on, then the package is marked as "invalid" indicating that it needs recompilation. You can either manually recompile the package, or you can just make a call to the package which will automatically compile the package.
SQL> create table t (x number);
Table created.
SQL> create package mypackage as
  2    procedure myproc;
  3  end;
  4  /
Package created.
SQL> create package body mypackage as
  2    procedure myproc is
  3      cursor mycur is
  4        select count(*) from t;
  5      v_cnt number;
  6    begin
  7      open mycur;
  8      fetch mycur into v_cnt;
  9      close mycur;
10      dbms_output.put_line('Count: '||v_cnt);
11    end;
12  end;
13  /
Package body created.
SQL> exec mypackage.myproc;
Count: 0
PL/SQL procedure successfully completed.
SQL> drop table t purge;
Table dropped.
SQL> create table t (x number, y number);
Table created.
SQL> select object_type, status
  2  from user_objects
  3  where object_name = 'MYPACKAGE'
  4  and object_type like 'PACKAGE%';
OBJECT_TYPE         STATUS
PACKAGE             VALID
PACKAGE BODY        INVALID
SQL> exec mypackage.myproc;
Count: 0
PL/SQL procedure successfully completed.
SQL> select object_type, status
  2  from user_objects
  3  where object_name = 'MYPACKAGE'
  4  and object_type like 'PACKAGE%';
OBJECT_TYPE         STATUS
PACKAGE             VALID
PACKAGE BODY        VALID
SQL> drop table t purge;
Table dropped.
SQL> create table t (x number);
Table created.
SQL> select object_type, status
  2  from user_objects
  3  where object_name = 'MYPACKAGE'
  4  and object_type like 'PACKAGE%';
OBJECT_TYPE         STATUS
PACKAGE             VALID
PACKAGE BODY        INVALID
SQL> alter package mypackage compile;
Package altered.
SQL> select object_type, status
  2  from user_objects
  3  where object_name = 'MYPACKAGE'
  4  and object_type like 'PACKAGE%';
OBJECT_TYPE         STATUS
PACKAGE             VALID
PACKAGE BODY        VALID
SQL> exec mypackage.myproc;
Count: 0
PL/SQL procedure successfully completed.
SQL>There's also the issue of session states (the one where you get the message "Package state has been discarded" and you app falls over), but that's another kettle of fish which I won't explain here.
;)

Similar Messages

  • Package in invalid status - compiles ok

    I created a package having 2 procedures. The package compiles fine, no errors found. My "SELECT * FROM all_objects" shows the package with STATUS=INVALID.
    If I try to call a procedure in the package Says "ORA-06575 Package or function is in an invalid state."
    I've tried recompiling the package: "ALTER PACKAGE PKAXINT COMPILE BODY", but to no avail. And the key point being there is absolutely no compilation errors...

    Jussi T wrote:
    I created a package having 2 procedures. The package compiles fine, no errors found. My "SELECT * FROM all_objects" shows the package with STATUS=INVALID.
    If I try to call a procedure in the package Says "ORA-06575 Package or function is in an invalid state."
    I've tried recompiling the package: "ALTER PACKAGE PKAXINT COMPILE BODY", but to no avail. And the key point being there is absolutely no compilation errors...SELECT OWNER, OBJECT_TYPE, STATUS FROM ALL_OBJECTS WHERE OBJECT_NAME = 'PKAXINT';
    post results from SQL above

  • HT204406 I can't seem to download songs from iTumes Match on my new iPhone 5. It still works fine on my iPad. Both are running ios6 and there is plenty of free space on the phone (20 GB or so). The download icon shows & flashes but nothing happens.

    I am trying to play songs from iTunes Match on my phone everything is enabled. The songs and playlists show up but when I select one it won't download or play. The download status icon next to the song name flashes on and off but nothing happens. When I go to the iTunes Store the download section shows the same behavior - it flashes that there is 1 download continuously but nothing downloads. My iPad on the same network also running ios6 works fine. Any ideas?

    Problem closed (although not resolved).  After working with Apple support, no resolution was found.  I asked for a refund of the iTunes match purchase price, which was granted.  Interestingly the support tech, who was very nice if not particularly helpful from a technical point of view, spun the "resolution" of refunding my iTunes match purchase price as a positive one, here is a quote from the final email
    "I'm glad to hear that you're not having issues with the songs you've purchased.  Nothing makes Apple happier than to hear that our customers concerns have been rectified."
    It is notable that I never had an issue downloading music directly purchased thru the iTunes store, the only issue that existed was downloading songs that I ripped from my CD collection and "matched". 
    I'm happy that I received my money back, however I wish that the iTunes Match service worked for me (I was looking forward to this service).  I'm most upset at the time I wasted trying to fix this problem.
    I'll now download music the old fashioned way: syncing with iTunes directly.

  • Chat works fine in IE but not in Firefox - shows "loading" but never does

    Facebook Chat always shows "loading" but never does - I've tried most of the suggested solutions but have yet to find one that works with Firefox - it still works fine in IE..

    Now sorted but I don't know what I did! :)

  • TS2972 First night I was able to watch 2 TV shows (45 min each) with no problems, but thereafter programs will not stream without constant pause to buffer. Weather conditions are ideal and my internet comes from crappy hugesnet, but worked fine the first

    First night I was able to watch 2 TV shows (45 min each) with no problems, but thereafter programs will not stream without constant pause to buffer. Weather conditions are ideal and my internet comes from crappy hugesnet, but worked fine the first night.

    The speed may have been ok at that time and is too inconsistent/too slow overall. interference may have proven to be more of an issue since as well. If using public DNS that will provide Intermittant results
    I'm sure using a hotspot would be fine but it depends on your viewing habits. An HD movie is around 4-5GB. It would also be subject to speed. requirements so best to test to see how it compares.
    You would have to check with your Carrier if hotspot it's enabled then just to into your settings and toggle it ON

  • SSIS package works in development environment but fails when job scheduler executes, file path invalid

    SIS package works in development environment but fails when job scheduler executes, file path invalid
    Relatively simple package to get OLE-DB connection to MS FoxPro 9.0 DB
    The failure in the job log states that the path is invalid its a network path (\\192.168.1.xxx\foldername) this has been run several ways with the remote computer being mapped as a network drive and through the \\ notation described above.
    Thinking it was a security issue between the SQL agent account and my account I tested by subsitution myself as a proxy account for the agent when running this job, again same result failed on network path.
    One issue I see is that the remote computer is running Server 2000 (legacy software incompatable with newer versions) 
    Is it possible that this is a security issue, since if i understand correctly the current MS domain security model didn't exist until Server 2003.

    Hi REIData,
    Have you got the issue resolved? Based on your description, please make sure the target folder is shared properly. If the computer on which the SQL Server Agent job runs doesn’t join the domain as the server that hosts the shared folder, you have to share
    the folder with everyone by adding “Everyone” to the people list on the File Sharing page of the folder and assign "Read/Write" permission to it.
    Regards,
    Mike Yin
    TechNet Community Support

  • Errors driving me crazy! But, it all compiles fine

    Errors driving me crazy! although compiles fine
    I am working on a project for an online class - I am teaching myself really! My last assignment I cannot get to work. I had a friend who "knows" what he is doing help me. Well that didn't work out too well, my class is a beginner and he put stuff in that I never used yet. I am using Jgrasp and Eclipse. I really am trying but, there really is no teacher with this online class. I can't get questions answered in time and stuff goes past due. I am getting this error:
    Exception in thread "main" java.lang.NullPointerException
    at java.io.Reader.<init>(Reader.java:61)
    at java.io.InputStreamReader.<init>(InputStreamReader .java:55)
    at java.util.Scanner.<init>(Scanner.java:590)
    at ttest.main(ttest.java:54)
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.
    This is my code:
    import java.util.*;
    import java.io.*;
    public class ttest
    static Scanner console = new Scanner(System.in);
    public static void main(String[] args)throws IOException
    FileInputStream fin = null; // input file reference
    PrintStream floser = null; // output file references
    PrintStream fwinner = null;
    Scanner rs; // record scanner
    Scanner ls; // line scanner
    String inputrec; // full record buffer
    int wins; // data read from each record
    int losses;
    double pctg;
    String team;
    String best = null; // track best/worst team(s)
    String worst = null;
    double worst_pctg = 2.0; // track best/worst pctgs
    double best_pctg = -1.0;
    int winner_count = 0; // counters for winning/losing records
    int loser_count = 0;
    // should check args.length and if not == 1 generate error
    try
    Scanner inFile = new Scanner(new FileReader("football.txt"));
    catch( FileNotFoundException e )
    System.exit( 1 );
    try
    floser = new PrintStream( new FileOutputStream( "loser.txt" ) );
    fwinner = new PrintStream( new FileOutputStream( "winner.txt" ) );
    catch( FileNotFoundException e )
    System.out.printf( "unable to open an output file: %s\n", e.toString() );
    System.exit( 1 );
    try
    rs = new Scanner( fin );
    while( rs.hasNext( ) )
    inputrec = rs.nextLine( ); /* read next line */
    ls = new Scanner( inputrec ); /* prevents stumble if record has more than expected */
    team = ls.next( );
    wins = ls.nextInt();
    losses = ls.nextInt();
    if( wins + losses > 0 )
    pctg = ((double) wins)/(wins + losses);
    else
    pctg = 0.0;
    if( pctg > .5 )
    if( pctg > best_pctg )
    best_pctg = pctg;
    best = team;
    else
    if( pctg == best_pctg )
    best += ", " + team;
    fwinner.printf( "%10s %2d %2d %5.3f\n", team, wins, losses, pctg );
    winner_count++;
    else
    if( pctg < worst_pctg )
    worst_pctg = pctg;
    worst = team;
    else
    if( pctg == worst_pctg )
    worst += ", " + team;
    floser.printf( "%10s %2d %2d %5.3f\n", team, wins, losses, pctg );
    loser_count++;
    fin.close( );
    floser.close( );
    fwinner.close( );
    catch( IOException e ) {
    System.out.printf( "I/O error: %s\n", e.toString() );
    System.exit( 1 );
    System.out.printf( "%d teams have winning records; %d teams have losing records\n", winner_count, loser_count );
    System.out.printf( "Team(s) with best percentage: %5.3f %s\n", best_pctg, best );
    System.out.printf( "Team(s) with worst percentage: %5.3f %s\n", worst_pctg, worst );
    The assignment is:
    Create a Java program to read in an unknown number of lines from a data file. You will need to create the data file. The contents of the file can be found at the bottom of this document. This file contains a football team's name, the number of games they have won, and the number of games they have lost.
    Your program should accomplish the following tasks:
    1. Process all data until it reaches the end-of-file. Calculate the win percentage for each team.
    2. Output to a file ("top.txt") a listing of all teams with a win percentage greater than .500. This file should contain the team name and the win percentage.
    3. Output to a file ("bottom.txt") a listing of all teams with a win percentage of .500 or lower. This file should contain the team name and the win percentage.
    4. Count and print to the screen the number of teams with a record greater then .500 and the number of teams with a record of .500 and below, each appropriately labeled.
    5. Output in a message box: the team with the highest win percentage and the team with the lowest win percentage, each appropriately labeled. If there is a tie for the highest win percentage or a tie for the lowest win percentage, you must output all of the teams.
    Dallas 5 2
    Philadelphia 4 3
    Washington 3 4
    NY_Giants 3 4
    Minnesota 6 1
    Green_Bay 3 4

    If you are working in Eclipse IDE, you can set a breakpoint and single step through your code to determe what line crashes. You can also examine variable values before the crash. Locate a line before the crash and set a breakpoint by double clicking on the vertical blue line that appears immediately to the left of the line of code. A blue 'dot' will appear on the line. Then,from the menu, select 'debug as application'. This will run your main() function up to that break point. In the menu, there are icons to allow you to single step through lines of code from that point, and another icon to step over lines of code if you want.
    Alternatively to setting break points, you can sprinkle your code with piles of System.out.println statements. Example: you have System.out.println("1"), and in another part of your code System.out.println("2"). If you code runs and prints out "1", but not "2", then you code crashed between them. I use breakpoints and System.out.println to debug.
    In your trace, you have "at java.util.Scanner.<init>(Scanner.java:590)" which means it crashed at line 590 (note in all the tracings, Scanner.java is a name of one of your custom classes and not a vendor class, thats how you can quickly find what part of the trace is important to you).
    NullPointerException means you tried to call a function on an object that is not instansiated (its null).
    Example: person.getName() will not work if person is null. Its the call to getName() that crashes.
    Debugging code is a very important skill set that you have to develop in which you have to logically track down and isolate problems.

  • I have got an iPhone MC605J version 6.0 soft bank iphon 4 but unable to use it in India.  I am trying to use Airtel sim but the phone is showing invalid sim.  So please help me out to unlock it.

    I have got an iPhone MC605J version 6.0 soft bank iphon 4 but unable to use it in India.  I am trying to use Airtel sim but the phone is showing invalid sim.  So please help me out to unlock it.

    No one here can help you, & Apple can't/won't help you. Fact is, there is no way to get that iPhone officially unlocked. Only Softbank can authorize the official unlocking of your phone, but they won't. Softbank does not offer official unlocking for any iPhone.
    It is what it is.

  • HT200197 My Apple TV just has a white blinking light.  Will not turn off.  The TV shows nothing but the Apple logo.  It worked fine yesterday.  PS - I am not an IT person.  :)

    My Apple TV just has a white blinking light.  Will not turn off.  The TV shows nothing but the Apple logo.  It worked fine yesterday.  PS - I am not an IT person. 

    pull the plug for 30sec and try reconnecting power
    if that don't help
    Apple TV (2nd and 3rd generation): Restoring your Apple TV - Apple Support

  • Desk top pc windows 7 ultimate, after update of itunes can not open under my account shows up very light on task bar but opens fine under my wifes account on same computer

    Windows 7 ultimate, after update can not open itunes under my account shows up very light on task bar, but opens fine under other accounts on same computer

    Hi M0M1!
    I have an article for you that seems to describe your issue and can provide some helpful troubleshooting steps for this issue:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    Specifically, you will want to focus on this section of the article:
    User-specific troubleshooting
    If you experience the issue in one particular user account, the suggestions below may resolve the issue. Before proceeding, you'll need to make hidden files and folder visible in Windows using steps 1-5.
    Remove iTunes Preference files. Some of the files that iTunes stores settings and preferences in may be unusable. iTunes saves its preferences in two folders. Move one of them to the desktop and test to see if the issue persists. If it does, move it back and remove the second folder. The locations for the preference folders are:
    c:\Users\username\AppData\Local\Apple Computer\iTunes
    c:\Users\username\AppData\Roaming\Apple Computer\iTunes
    Create a new iTunes Library.
    Hold the Shift key while opening iTunes. You'll be asked to choose an iTunes library.
    Choose Create Library.
    In the following window, select a location to save the new iTunes Library.
    Click Save. iTunes will open the new library. After you close iTunes, you can always select the original library by holding the Shift key while opening iTunes.
    Recreate your iTunes Library. If your iTunes library has become unusable, rebuilding it may resolve the issue.
    Check for issues with content files. Sometimes an audio file can cause iTunes to quit unexpectedly or stop responding when it's analyzing gapless playback information. To determine which file may be causing the issue, follow the steps below:
    Quit iTunes.
    Navigate to the iTunes folder:
    Windows Vista: c:\users\username\Music\iTunes
    Windows 7 and Windows 8: c:\users\username\My Music\iTunes
    Move the iTunes Library.itl file to your desktop.
    Open iTunes. You shouldn't see any content in iTunes.
    Choose File > Add Folder to Library.
    Navigate to the folder where your music is located:
    Windows Vista: c:\users\username\Music\iTunes\iTunes Media
    Windows 7 and Windows 8: c:\users\username\My Music\iTunes\iTunes Media
    Choose an artist, album, or song to add to the library.
    Wait for iTunes to successfully add the item to your library and perform the gapless playback scan.
    If successful, continue adding songs to your library.
    If there is an issue with one of your files, you'll notice your issue reappear after you add it to the library. You should repeat these steps, being careful not to add the files that caused the issue.
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • Deploying the packages of microsoft critical update but members of collection is showing unknow client tab which comes in monitoring-- deployments status windows. until deadline to be completed. Nither provide any errors or completed status, progress sta

    Hi
    I have challaged for deployment of microsoft critical patches to client machine with the help of sccm. I have been done all configuration formalities, although previous months has been deployed successfully with any difficulties.
    But This month have some issue is being running, once i was deploying the packages of microsoft critical update but members of collection is showing unknow client tab which comes in monitoring--> deployments status windows. until deadline
    to be completed. Nither provide any errors or completed status, progress status.
    Please guide to resolve the issue,
    if you need more clarification, kindly let me know.
    Md Ehteshamuddin Khan
    Regards, Md Ehteshamuddin Khan All the opinions expressed here is mine. This posting is provided "AS IS" with no warranties or guarantees and confers no rights.

    Yes, I know this is an old post, but I’m trying to clean them up. Did you solve this problem, if so what was the solution?
    Take a look at the SU superflows, they will help you troubleshot this issue.
    http://technet.microsoft.com/en-us/library/ff385001.aspx
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • HT3541 I try to buy a music video from the iTunes Store but it declined my card and it shows invalided card can you please help me

    I try to buy a music video from the iTunes Store but it declined my card and it shows invalided card can you please help me

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    edd125 wrote:
    ...the iTunes Store but it declined my card
    Accepted forms of payment  >  http://support.apple.com/kb/HT5552

  • App fails to compile with mxmlc command-line but builds fine with flash builder IDE.

    Hi,
    i have this flex app (its a flex project created from flash builder ), it compiles fine when i build it from IDE.
    it fails to compile when i do it from command line through mxmlc.
    i am invoking the mxmlc at the location <flash-builder-installation>\sdks\<flex-ver>\bin\
    the mxml file is test.mxml
    i am invoking like the following
    c:\<bin>\mxmlc test.mxml
    i dont have any dependency on any of custom swc file.
    i am getting the following type errors when i compile it from my .as file
    Error: Type was not found or was not a compile-time constant: TouchEvent
    Error: Type was not found or was not a compile-time constant: File.
    Error: Type was not found or was not a compile-time constant: FileStream
    could you please let me know what i am missing here ?
    thanks,

    Is this a AIR app or a mobile app? If you are building AIR app for desktop then you can use amxmlc instead of mxmlc.
    If its a mobile app then use mxmlc +configname=airmobile
    -Gaurav
    http://www.gauravj.com/blog

  • UPDATE: /dev/sdc shows up, but no such device. How to remove/reset?

    UPDATE:
    Please read second post for current problem, although first still applies for the most part.
    Original:
    =========
    Sorry, I couldn't figure out a good title hopefully this is fine.
    My problem: I bought a laptop with 2 hard drive bays, I bought a regular HDD and a SDD. They both showed up fine and I initially "just installed" with the regular process via ArchBoot. Everything good still. I decided I wasn't happy with the setup and was actually thinking about getting 2 SSD's instead of the regular HDD so I took out the HDD so I could do an install with just the SDD (while I wait on another SDD to arrive). This went fine, too. I put /tmp and /var/log in tmpfs, etc. But then I realized I should put /var/cache somewhere else since I do a lot of updating and custom packages very frequently. This is where the problem starts:
      1. I put in a 4GB SD Multi-Card into the little multi-card reader slot in the front. It showed up as mmblk(..) and I reformatted it as ext4. I rebooted (always like to see logs on initial boot up, etc) and the SD Multi-Card showed up as /dev/sdb instead of /dev/mmblk(..) (while the SSD was /dev/sda). I didn't think too much of it and pointed /boot and / at /dev/sda1 and /dev/sda2 while I pointed /var/cache to /dev/sdb1. Rebooted and everything seemed to work.
      2. I second guess myself and wanted to put the regular HDD back in (since it's 500GB) and I have a lot of movies/music I want to watch that will currently fill up the 240GB SSD I had ordered for the second bay (there's a small 60GB SSD for / and /boot stuff that I won't be writing to much). So I put the HDD back in, remove the SD card (since it's no longer necessary) and go through the install process again. ...  It cannot find the drive. It keeps complaining that /dev/sdb cannot be read. The logs show nothing except that it sees /dev/sdb but nothing else as with /dev/sda where it goes through identifying name, type, and attaching it.
    END RESULT PROBLEM: I can put any drive (the SSD or the HDD) into any of the two hard-drive bays and only /dev/sda gets read. It shows /dev/sdb no matter what, but it cannot read medium. Everytime I boot it will show /dev/sda and /dev/sdb even if I only insert one drive into ANY bay. I try to gdisk or fdisk /dev/sdb and it says medium cannot be read. The only time I get /dev/sdb to read is when I insert that stupid SD Multi-Card. Okay, fine. So I insert both drives into both bays as well as the SD Multi-Card. It still only shows /dev/sda and /dev/sdb.. no /dev/sdc.
    So, something keeps making my computer think /dev/sdb HAS to be the multi-card. I used gdisk to erase any GPT tables on every drive and clear the MBR but this still persists. I even inserted my original Windows HDD into the computer and tried reformatting every drive, hoping it would somehow fix it, to no avail--also tried to "dd" all the drives. "dd" cannot read /dev/sdb either. The drives themselves all appear to work fine, it's just that for some reason my computer WANTS /dev/sdb as the SD Multi-Card and nothing else can go there, or after it (e.g. /dev/sdc..). I see /sys/block/sdb/{files} but I KNOW there's no /dev/sdb if I only insert one drive. What the heck. :{ This folder and the /dev/sdb show up on every LiveCD I tried.
    EXAMPLE ONE:
       Bay 1: SSD
       Bay 2: HDD
       MCR: <nothing>
       /dev/sda shows SSD
       /dev/sdb cannot find/read medium
    EXAMPLE TWO:
       Bay 1: HDD
       Bay 2: <nothing>
       MCR: <nothing>
       /dev/sda shows HDD
       /dev/sdb still shows up, cannot find/read medium
    EXAMPLE THREE:
       Bay 1: <nothing>
       Bay 2: SSD
       MCR: <nothing>
       /dev/sda shows SSD
       /dev/sdb still shows up, cannot find/read medium
    EXAMPLE FIVE:
       Bay 1: HDD
       Bay 2: <nothing>
       MCR: SDMulti-Card
       /dev/sda shows HDD
       /dev/sdb shows SDMulti-Card
    EXAMPLE SIX:
       Bay 1: HDD
       Bay 2: SSD
       MCR: SDMulti-Card
       /dev/sda shows HDD
       /dev/sdb shows SDMulti-Card
       SSD (/dev/sdc?) NOT shown
    Did I damage the BIOs or something? Because it seems no matter what I do, it only wants /dev/sdb as the SD Multi-Card, and will not "find/read/identify" any other drive as /dev/sdb or even /dev/sd{c,d,e,...}, whereas /dev/sda can be either the SSD or the HDD just fine, but they cannot be /dev/sdb or anything else. In the BIOs boot order selection it wont show both SSD and HDD drives if theyre in there at the same time, even though it used to show both before this whole SD Multi-Card fiasco. I tried resetting BIOs but it didn't seem to do anything. I'm at a loss.
    Last edited by milomouse (2010-12-24 22:47:25)

    Original: 12-22-10. Today: 12-24-10. UPDATE:
    So, by swapping the drives repeatedly and rebooting with the ArchBoot disc, using a combination of the Windows HDD, the empty HDD and the empty SSD in different positions (all conceivable), I was able to get Linux to "softreset" the devices so that I can FINALLY have both the empty HDD and the empty SSD read/identified at the same time, but only with the HDD in /dev/sda and the SSD in /dev/sdb (while that stupid SD Multi-Card slot keeps showing up, but this time as /dev/sdc). I think Linux is now confused and thinks that the SSD is a flash/SD device or something and therefore can't put it in /dev/sda anymore (after the SD card messed everything up). I guess everything is fine unless I have to switch devices for some reason or possibly have 2 SSDs where one wont read because of this.. We'll see.
    My question now: is there any way to REMOVE a device? More specifically, I see /sys/block/sdc/{files} but there is obviously no device and I can't forcefully delete them with "rm -fr" -- I don't know another way. Can I set a udev rule or something to ignore it or possibly/preferably remove it so I can plug in another device later to be read as /dev/sdc instead of skipping to /dev/sdd? This would be great.
    Edit:  I can do:   
    echo 1 > /sys/block/sdc/device/delete
    and it will delete for that session. But as soon as I reboot it's back. Any ideas? Udev?
    Last edited by milomouse (2010-12-24 23:30:11)

  • Mac Pro Dual Quad Core won't boot OS/X, but plays fine with Linux/Windows

    I've got a Mac Pro Dual Quad Core won't boot OS/X, but plays fine with Linux/Windows. I've tried all of the following initial tests as suggested on forums:
    -Ram swaps
    -Alternating video card in PCIe slots
    -Trying alternate video card
    -resetting pram and smc
    -Multiple tests with memtest86+ over 26hrs and no failed ram
    -Multiple tests (8-12 cycles) with apple HW diagnostics and no problems
    -Firmware is approved firmware for early 2008 model...no new updates.
    Gentoo livecd works fine and I even installed to hard drive and it boots fine with it. In addition to above tests I also ran a linux stress test putting all 8 cores at a load of 22 for 2.5hrs with no problems.
    Memtest86+ for 24hrs+ yields no problems.
    Where problems occur:
    Booting off hard drive, DVD or firewire yields an immediate curtain of death and booting off a new snow leopard DVD dies about 25% into the install.
    Looking at error log and a quick dmesg shows "Package 0 didn't get an HPET" and complains about AppleIntelCPUPowerManagement.kext. Google turns up illegal uses of this, so doesn't apply to my use case.
    I'm a bit stumped since all was working well until one day it was non-stop curtains of death and can't get them to go away.
    A logic board replacement at $1100 is not a feasible option for something that works on linux and windows, but not OS/X, is a bit disappointing and somewhat surprising.
    Thanks for your help and advice.
    Regards,
    Marcos

    Someone here once thought they knew EFI and Open Firmware a little, and used some commands from OF library that an Intel EFI Apple system didn't like. New logicboard.
    Of course to run or boot OS X and see video you need EFI based card. The presence of some PC cards can block OS X from booting.
    The fact you get part way through SL DVD, pull all the drives, put in a new drive and format it from SL DVD.
    Most of the things you tried are what are more common with PC hardware. Including where people have tried and failed to install OS X on unsupported hardware.
    I suppose it is possible something tried and failed to modify the Mac's firmware.
    If you have Windows running, and you have WD drives, WD just posted new Lifeguard utility which is what I use to do a good job of stripping a drive down and recertify it for reuse, works wonders. Maybe same for other makes with vendor utility.

Maybe you are looking for

  • Are there different formats for the iBooks reader?

    I created a picture book, but when it's opened in iBooks, it displays each page as a small image on the "pages" of the book. I opened my file in Cloud Reader (for comic books) and it's displayed perfectly, with the pages filling up the screen. Can iB

  • How can I host my full-bleed images (such as browser fill) on a CDN (such as Amazon3) for fast load?

    Hey, I was wondering if anyone know how to use a Contenct Delivery Network (such as Amazon S3) to host large images on my Muse site so that they upload faster? Thanks

  • Third party tool for faster message recovery?

    Does anyone know if a third party tool for message recovery?  Restoring mailbox data from a Recovery Mailbox Database is very time consuming.  One of our Mailbox databases is almost 400 GB, and the restore alone is timely.  Our Recover Deleted Items

  • HREF track problem QT7/Vista ultimate

    Hi - Using QT7 + Vista Ultimate + IE7 Trying to use HREFTracks to get a movie playing in one frame to load html files into another frame. I spent hours trying to get this to work under vista, but the target attribute "frame_right" did not cause the p

  • Value not showing in the transaction MB5T

    Dear all; In the transaction MB5T the value is not coming for in transit material .how it will come ion the MB5T report? kindly suggest. Thanking You; Regards; Joydeep mukherjee