Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Error: "Failed to refresh PTF file" Windows 7 and Quartus 10.1

I have just acquired a new computer with Window 7 installed.

After installing Quartus 10.1, I have tested one of the SOPC systems developed on the old computer which was running WinXP SP2.

While generating the system I have encountered the following error messages:

Info: Starting PTF file elaboration.

0 [main] sh 38524 child_copy: stack write copy failed, 0x28C4C0..0x290000, done 0, windows pid 38524, Win32 error 487

247 [main] sh 38524 fork: child 39344 - pid 39344, exitval 0x103, errno 11

/usr/bin/sh: fork: Resource temporarily unavailable

Error: Failed to refresh PTF file

Info: Finished elaborating PTF file.

Executing: C:/altera/80/quartus//sopc_builder/bin/sopc_builder --classic --generate C:/altera/Projects80/nrg_a/main/nios_sys.ptf

Info: Starting generation...

0 [main] sh 40064 child_copy: stack write copy failed, 0x28C4D0..0x290000, done 0, windows pid 40064, Win32 error 487

394 [main] sh 40064 fork: child 40356 - pid 40356, exitval 0x103, errno 11

/usr/bin/sh: fork: Resource temporarily unavailable

Error: System generation failed.

In the attempt to resolve this problem I have taken the following actions:

1. turned off the Virus Scan (from CA);

2. turned off the Firewall;

3. turned off the UAC;

Furthermore, I have created a test SOPC system (with CPU, EPCS, RAM, SYSID and JTAG) and attempted to generate it under the following environments:

1. Quartus 8.0 32 bit SOPC;

2. Quartus 8.0 64 bit SOPC;

3. Quartus 10.1 32 bit SOPC;

4. Quartus 10.1 64 bit SOPC;

5. Quartus 10.1 32 bit QSYS;

6. Quartus 10.1 64 bit QSYS;

in all cases I am not able to generate the system because errors are occurring whenever the PTF file is going to be generated.

I will really appreciate some support on this issue if anyone of You had experienced similar problem.

Thanks and regards,

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i've seen this error before, i think its a cygwin issue

    if you're in a real bind then i would install CentOS in a virtual machine
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks a lot for proving that I was not the only one!!!

    I finally have been able to generate the system without problems only after uninstalling the antivirus: CA Security Suite, for which I have a legal copy and I have been using it together with Quartus II and the SoPC on my older computer under WinXP environment.

    The amazing has been that even if I had Snoozed the Anti-Virus, I was getting the compatibility problem; again, never experienced this before.

    Conclusion: I am now using Windows Defender and everything is working fine, again and finally. A total of 16 hours and 2 sleepless nights to figure it out. :D
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Thanks a lot for proving that I was not the only one!!!

    I finally have been able to generate the system without problems only after uninstalling the antivirus: CA Security Suite, for which I have a legal copy and I have been using it together with Quartus II and the SoPC on my older computer under WinXP environment.

    The amazing has been that even if I had Snoozed the Anti-Virus, I was getting the compatibility problem; again, never experienced this before.

    Conclusion: I am now using Windows Defender and everything is working fine, again and finally. A total of 16 hours and 2 sleepless nights to figure it out. :D

    --- Quote End ---

    Can you help me this problem "Failed to refresh PTF file"? Please, you can show me your resolve the problem