Origami fails to start on amd64 with 1 core

Bug #241840 reported by Ian Ellis
4
Affects Status Importance Assigned to Milestone
origami
New
High
Christer Edwards

Bug Description

For those of us people on the old school amd64s that only have one core, your init script is still calling the FaH binary rather than the fah6 binary. The FaH binary then complains about there only being one CPU and proceeds to quit. I changed the script to run fah6 on my machine, and everything was happy. I guess you need another check in the script to call the fah6 binary in this case.

Origami version: 0.6.8.1-0ubuntu5
Distribution: Ubuntu 8.04

Revision history for this message
Christer Edwards (christer.edwards) wrote :

Can you outline a bit more what it was in the script that you changed for this to work on your machine? I'll be happy to add some additional tests, I would just some more information on your solution considering I don't have similar hardware for testing on my own.

Changed in origami:
assignee: nobody → christer.edwards
importance: Undecided → High
Revision history for this message
Ian Ellis (ianmailstuff) wrote :

So, I have this code snippet in the script now, starting at line 1873:

      if [ "$Use_SU" = "true" ];
       then
        su - $RunAsUser -c "$BashShell -c \"cd $Fdir/$Dir$CurrentCPU/; ./fah6 < /dev/null > /dev/null 2>&1 &\""
       else
        cd $Fdir/$Dir$CurrentCPU/; ./fah6 < /dev/null > /dev/null 2>&1 &
      fi

I believe it originally read:
      if [ "$Use_SU" = "true" ];
       then
        su - $RunAsUser -c "$BashShell -c \"cd $Fdir/$Dir$CurrentCPU/; ./FaH < /dev/null > /dev/null 2>&1 &\""
       else
        cd $Fdir/$Dir$CurrentCPU/; ./FaH < /dev/null > /dev/null 2>&1 &
      fi

I just changed where it was calling FaH to call fah6. I hope that helps.

Revision history for this message
Christer Edwards (christer.edwards) wrote :

I know this is a rather old report at this point, but would it be possible to find out the install line you used? Also, does this issue continue on recent releases?

Revision history for this message
Ian Ellis (ianmailstuff) wrote :

The install like I would have used is:

origami install -u Ian_Ellis -t 11108 -p amd64

I upgraded my computer a couple months after I reported this bug, so I don't know if it's still an issue. My dad's using the processor though, so I can boot off the LiveCD to see if it's still an problem if you'd like.

Revision history for this message
Christer Edwards (christer.edwards) wrote : Re: [Bug 241840] Re: Origami fails to start on amd64 with 1 core

Yeah, if you get a chance to verify I would appreciate it.

Just for verification can you post the following:

Ubuntu version:
Origami version:
Installed architecture (ie; 32bit, 64bit)
output of: cat /proc/cpuinfo

Thanks.

On Wed, Dec 30, 2009 at 4:20 PM, Ian Ellis <email address hidden> wrote:
> The install like I would have used is:
>
> origami install -u Ian_Ellis -t 11108 -p amd64
>
> I upgraded my computer a couple months after I reported this bug, so I
> don't know if it's still an issue.  My dad's using the processor though,
> so I can boot off the LiveCD to see if it's still an problem if you'd
> like.
>
> --
> Origami fails to start on amd64 with 1 core
> https://bugs.launchpad.net/bugs/241840
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Ian Ellis (ianmailstuff) wrote :

I just tested it from the Karmic LiveCD and it had the same problem, but the same fix made it work again.

Here's the other info you asked for:
Ubuntu version: 9.10
Origami version: 0.7-ubuntu1
Installed architecture: 64bit
cat /proc/cpuinfo:
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 15
model name : AMD Athlon(tm) 64 Processor 3500+
stepping : 0
cpu MHz : 2200.023
cache size : 512 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow up rep_good
bogomips : 4400.04
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

Revision history for this message
Christer Edwards (christer.edwards) wrote :

please track this issue at its new home on github: http://github.com/zelut/origami/issues/#issue/1

(congrats on being the first imported issue)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.