qemu package in repo is broken

Problems with packages? Post here, using [tags] of the package name.

qemu package in repo is broken

Postby moonman » Mon Mar 14, 2011 4:32 am

Hi,

Could someone compile latest qemu for me. The one available is old (0.12) and it has a bug when It doesn't (or not properly) emulate a hard drive controller. Any OS I threw at it complained that it couldn't read/write to the hdd.

When I tried compiling the latest qemu on my plug it got stuck and told me it was out of virtual memory (I did try increasing swap size to 6GB and it used 1.4)
Last edited by moonman on Mon Mar 14, 2011 7:48 am, edited 1 time in total.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: qemu package in repo is broken

Postby moonman » Mon Mar 14, 2011 7:46 am

Ok, So the module that wouldn't compile was translate.o for x64 architechture. I circumvent this by only compiling qemu for i386.

BTW the hard drive emulation does work it the version i compiled. => qemu package in the repo is broken
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: qemu package in repo is broken

Postby kmihelich » Mon Mar 14, 2011 4:13 pm

It's not so much that it's broken as we have skipped building it. What is in the repo is actually the package from the old repo.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: qemu package in repo is broken

Postby moonman » Mon Mar 14, 2011 6:21 pm

Any chance you can put a new one in the repo. I (almost) got winodws 98 working :)
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: qemu package in repo is broken

Postby kmihelich » Mon Mar 14, 2011 6:51 pm

You mentioned that there was a problem compiling it.. did you have to change the PKGBUILD at all? So far you're the only one using qemu on a plug.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: qemu package in repo is broken

Postby moonman » Wed Mar 16, 2011 1:13 am

I did compile qemu but I don't have a destcc setup. The problem was the it ran out of memory when building qemu x64. You guys have destcc setup where compiling happens on a full blown comuter with enough memory. I did not use PKGBUILD sine I only did ./configure, make, make install. Then forced install qemu-launcher without depcheck.

Unfortunately Windows 98 installation started but it failed with some generic error. I'm working on it though. Fun fun fun :)
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: qemu package in repo is broken

Postby moonman » Wed Mar 16, 2011 1:18 am

available target list:
$this->bbcode_second_pass_code('', 'target list i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user microblaze-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user sparc32')

so I did
$this->bbcode_second_pass_code('', ' ./configure --target-list="i386-softmmu,i386-linux-user"')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: qemu package in repo is broken

Postby moonman » Wed Mar 16, 2011 5:37 am

Some Screenshots
Attachments
3.PNG
3.PNG (78.46 KiB) Viewed 23655 times
2.PNG
2.PNG (81.42 KiB) Viewed 23655 times
1.PNG
1.PNG (83.75 KiB) Viewed 23655 times
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: qemu package in repo is broken

Postby moonman » Wed Mar 16, 2011 5:38 am

Some more
Attachments
4.PNG
4.PNG (93.18 KiB) Viewed 23655 times
5.PNG
5.PNG (149.5 KiB) Viewed 23655 times
6.PNG
6.PNG (64.8 KiB) Viewed 23655 times
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: qemu package in repo is broken

Postby moonman » Wed Mar 16, 2011 6:26 am

It would be really coold to be able to run qemu-i386-static, chroot into i386 linux and run wine. Wonder what the performance would be like.

Maybe someone else will try this. It's gonna be a while till I can make it work as I don't have that much knowledge about linux.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Next

Return to Packages

Who is online

Users browsing this forum: No registered users and 36 guests