All times are UTC-06:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
 Post subject: QEmu on powerpc
PostPosted: Mon Mar 08, 2010 9:36 am 
Offline

Joined: Tue Nov 23, 2004 8:49 am
Posts: 21
I've looked over the internet and found some instructions for suse linux on how to make adobe flash plugin work in non-x86 env via qemu http://en.opensuse.org/PowerPC_Flash_Player . I've installed everything as described there only with changes corresponding for debian. When executing anything from x86 linux everything is ok, but when I am trying to chroot to that dir I'm getting this:
Code:
bash: fork: Invalid argument
.
Can anyone help with this issue?


Top
   
 Post subject: Re: QEmu on powerpc
PostPosted: Mon Mar 08, 2010 11:21 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
I've looked over the internet and found some instructions for suse linux on how to make adobe flash plugin work in non-x86 env via qemu http://en.opensuse.org/PowerPC_Flash_Player . I've installed everything as described there only with changes corresponding for debian. When executing anything from x86 linux everything is ok, but when I am trying to chroot to that dir I'm getting this:
Code:
bash: fork: Invalid argument
.
Can anyone help with this issue?
I really hope you're trying this on an Apple G5 or something because emulating x86 through QEMU on a G4 is going to be worse than using the slow opensource players.

As for the problem, you're trying to "chroot into that dir".. what directory? The x86 emulation one? If you do a chroot you will probably lose the ability to run the x86 Linux stuff through QEMU as it relies on paths to the PPC Linux relative to it's root. You will have to do some egregious symlinking!

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Mon Mar 08, 2010 12:20 pm 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
why don't you use gnash ??

_________________
acrux _at_ linuxmail _dot_ org


Top
   
 Post subject: Re: QEmu on powerpc
PostPosted: Mon Mar 08, 2010 11:15 pm 
Offline

Joined: Tue Nov 23, 2004 8:49 am
Posts: 21
Quote:
Quote:
I've looked over the internet and found some instructions for suse linux on how to make adobe flash plugin work in non-x86 env via qemu http://en.opensuse.org/PowerPC_Flash_Player . I've installed everything as described there only with changes corresponding for debian. When executing anything from x86 linux everything is ok, but when I am trying to chroot to that dir I'm getting this:
Code:
bash: fork: Invalid argument
.
Can anyone help with this issue?
I really hope you're trying this on an Apple G5 or something because emulating x86 through QEMU on a G4 is going to be worse than using the slow opensource players.

As for the problem, you're trying to "chroot into that dir".. what directory? The x86 emulation one? If you do a chroot you will probably lose the ability to run the x86 Linux stuff through QEMU as it relies on paths to the PPC Linux relative to it's root. You will have to do some egregious symlinking!
I'm trying to run this on G5 quad. 8) I'm not so stupid not to copy qemu-i386-static to /usr/bin. It starts bash but bash refuse to start anything else. And if I am doing
Code:
chroot /emul/i386/ /bin/something
it works till that something needs to fork. Then it stops with almost same error. I don't understand what it lacks to work properly. 8(


Top
   
 Post subject:
PostPosted: Mon Mar 08, 2010 11:16 pm 
Offline

Joined: Tue Nov 23, 2004 8:49 am
Posts: 21
Quote:
why don't you use gnash ??
because it plays ~30% of flash.


Top
   
 Post subject:
PostPosted: Tue Mar 09, 2010 5:40 am 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
Quote:
Quote:
why don't you use gnash ??
because it plays ~30% of flash.
from my experience, with gnash-0.8.7 it's about 85%.

_________________
acrux _at_ linuxmail _dot_ org


Top
   
 Post subject:
PostPosted: Wed Mar 10, 2010 1:24 am 
Offline

Joined: Tue Nov 23, 2004 8:49 am
Posts: 21
Quote:
Quote:
Quote:
why don't you use gnash ??
because it plays ~30% of flash.
from my experience, with gnash-0.8.7 it's about 85%.
It is not playing almost all YouTube HD, it is definitely not playing RuTube and some others, like GameTrailers with selectors of birthdate.


Top
   
 Post subject:
PostPosted: Thu Aug 12, 2010 10:02 pm 
Offline

Joined: Tue Nov 23, 2004 8:49 am
Posts: 21
I've made some investigations. Seems that the problem is here:
clone(18874385,0,0,0,1210087208,1074262024) = -1 errno=22 (Invalid argument)
This is a line from qemu-i386 started with -strace option. This error is got by a caller in 3 cases:
1. when child_stack is NULL
2. both CLONE_FS and CLONE_NEWNS flags are set
3. CLONE_THREAD was set, but CLONE_SIGHAND wasn't.
I don't know why there is so many params for that command so I need someone more competent than me to comment the situation


Top
   
 Post subject:
PostPosted: Fri Aug 13, 2010 9:45 am 
Offline

Joined: Sun Feb 21, 2010 6:58 pm
Posts: 30
Location: Roma, ITALIA
i suppose you ought to ask about on qemu-dev ml.
Anyway, the upcoming gnash-0.8.8 'll fix any youtube scripts troubles.


Top
   
 Post subject:
PostPosted: Sun Aug 15, 2010 11:39 pm 
Offline

Joined: Tue Nov 23, 2004 8:49 am
Posts: 21
Quote:
i suppose you ought to ask about on qemu-dev ml.
Anyway, the upcoming gnash-0.8.8 'll fix any youtube scripts troubles.
I think I'll do that. And I have gnash built from trunk. It is playing youtube correc, but not playing much more flash. Also I need that cross-env to use some x86 only tools.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group