Mailinglist Archive: opensuse-buildservice (88 mails)

< Previous Next >
Re: [opensuse-buildservice] osc kvm builds walkthrough
Am 22.01.2014 21:38, schrieb Adrian Schröter:
On Mittwoch, 22. Januar 2014, 20:44:01 wrote Wolfgang Rosenauer:
Hi,

at some occasions I would have needed local osc builds on kvm because
shared memory restrictions in the buildroot.

I never got it to work though.
Is there any step by step documentation out there how I can do kvm based
local osc builds which covers everything from setting up kvm to getting
images (if needed but my earlier experiences suggested that)?

osc build --vm-type=kvm ...

should be enough by default. build will setup files which are used for
building as
devices.

Of course your system and kernel needs to support kvm.

Hmm, have 13.1 and kvm stuff installed but nothing else:

[ 22s] booting kvm ...
[ 22s] /usr/bin/qemu-kvm -no-reboot -nographic -vga none -net none
-cpu host -kernel /boot/vmlinuz -initrd /boot/initrd-3.11.6-4-desktop
-append root=/dev/sda panic=1 quiet no-kvmclock nmi_watchdog=0 rw
elevator=noop console=ttyS0 init=/.build/build -hda
/local/build/build-root/img -drive
file=/local/build/build-root/swap,if=ide,index=1,cache=unsafe -smp 4
[ 28s] [ 0.011000] Failed to access perfctr msr (MSR c0010001 is
ffffffffffffffff)
[ 29s] [ 0.886400] microcode: CPU0: update failed for
patch_level=0x01000083
[ 29s] [ 0.887375] microcode: CPU1: update failed for
patch_level=0x01000083
[ 29s] [ 0.888472] microcode: CPU2: update failed for
patch_level=0x01000083
[ 29s] [ 0.890662] microcode: CPU3: update failed for
patch_level=0x01000083
[ 29s] Trying manual resume from
/dev/disk/by-id/ata-WDC_WD5000AAKS-00YGA0_WD-WCAS80531274-part2
[ 29s] resume device
/dev/disk/by-id/ata-WDC_WD5000AAKS-00YGA0_WD-WCAS80531274-part2 not
found (ignoring)
[ 29s] Trying manual resume from
/dev/disk/by-id/ata-WDC_WD5000AAKS-00YGA0_WD-WCAS80531274-part2
[ 29s] resume device
/dev/disk/by-id/ata-WDC_WD5000AAKS-00YGA0_WD-WCAS80531274-part2 not
found (ignoring)
[ 62s] Waiting for device /dev/sda to appear:
..............................Could not find /dev/sda.
[ 62s] Want me to fall back to
/dev/disk/by-id/ata-WDC_WD5000AAKS-00YGA0_WD-WCAS80531274-part6? (Y/n)
[ 71s] not found -- exiting to /usr/sbin/sulogin
[ 71s] Give root password for maintenance


Wolfgang


--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups