Hello Vaggelis,

The PKGBUILD you provided does not make a difference. The --disable-java is not a valid config option, and after I replace it with this  --with-java-home=/usr/lib/jvm/
java-7-openjdk I get the same error in libguestfs-test-tool:

IBGUESTFS_DEBUG=1
TMPDIR=(not set)
libguestfs: new guestfs handle 0x22f43d0supermin helper [00066ms] visiting /usr/lib/guestfs/supermin.d/init.img
supermin helper [00066ms] adding kernel modules
supermin helper [00243ms] finished creating appliance
libguestfs: [00249ms] begin building supermin appliance
libguestfs: [00249ms] run febootstrap-supermin-helper
libguestfs: [00249ms] febootstrap-supermin-helper --verbose -f ext2 /usr/lib/guestfs/supermin.d x86_64 /var/tmp/guestfs.DP8yqi/kernel /var/tmp/guestfs.DP8yqi/initrd /var/tmp/guestfs.DP8yqi/root
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = /var/tmp/guestfs.DP8yqi/kernel, initrd = /var/tmp/guestfs.DP8yqi/initrd, appliance = /var/tmp/guestfs.DP8yqi/root

supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d
checking modpath /lib/modules/3.2.6-2-ARCH is a directory
picked vmlinuz-linux because modpath /lib/modules/3.2.6-2-ARCH exists
supermin helper [00000ms] finished creating kernel
supermin helper [00701ms] finished mke2fs
supermin helper [00702ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [00702ms] visiting /usr/lib/guestfs/supermin.d/base.img
supermin helper [00853ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [00855ms] visiting /usr/lib/guestfs/supermin.d/hostfiles
supermin helper [26364ms] visiting /usr/lib/guestfs/supermin.d/init.img
supermin helper [26367ms] adding kernel modules
supermin helper [37877ms] closing ext2 filesystem
supermin helper [37877ms] finished creating appliance
libguestfs: [38128ms] finished building supermin appliance
libguestfs: [38212ms] begin testing qemu features
libguestfs: [38320ms] finished testing qemu features
libguestfs: accept_from_daemon: 0x22f43d0 g->state = 1
[38321ms] /usr/bin/qemu-kvm \
    -global virtio-blk-pci.scsi=off \
    -drive file=/tmp/libguestfs-test-tool-sda-Jejxf7,format=raw,if=virtio \

    -nodefconfig \
    -machine accel=kvm:tcg \
    -nodefaults \
    -nographic \
    -m 500 \
    -no-reboot \
    -no-hpet \
    -device virtio-serial \
    -serial stdio \
    -chardev socket,path=/tmp/libguestfsevt4oc/guestfsd.sock,id=channel0 \
    -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
    -kernel /var/tmp/.guestfs-0/kernel.25211 \
    -initrd /var/tmp/.guestfs-0/initrd.25211 \

    -append 'panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \
    -drive file=/var/tmp/.guestfs-0/root.25211,snapshot=on,if=virtio,cache=unsafefebootstrap: mounting /proc c--------- 1 root root  10, 235 Feb 23 20:16 autofs
c--------- 1 root root  10, 234 Feb 23 20:16 btrfs-control
drwxr-xr-x 2 root root       60 Feb 23 20:16 char
crw------- 1 root root   5,   1 Feb 23 20:16 console
lrwxrwxrwx 1 root root       11 Feb 23 20:16 core -> /proc/kcore
drwxr-xr-x 2 root root       60 Feb 23 20:16 cpu
crw------- 1 root root  10,  62 Feb 23 20:16 cpu_dma_latency
lrwxrwxrwx 1 root root       13 Feb 23 20:16 fd -> /proc/self/fd
crw-rw-rw- 1 root root   1,   7 Feb 23 20:16 full
crw-rw-rw- 1 root root  10, 229 Feb 23 20:16 fuse
drwxr-xr-x 2 root root       60 Feb 23 20:16 input
crw------- 1 root root   1,  11 Feb 23 20:16 kmsg
c--------- 1 root root  10, 237 Feb 23 20:16 loop-control
brw-r--r-- 1 root disk   7,   0 Feb 23 20:16 loop0
drwxr-xr-x 2 root root       60 Feb 23 20:16 mapper
crw------- 1 root root  10, 227 Feb 23 20:16 mcelog
crw------- 1 root root   1,   1 Feb 23 20:16 mem
drwxr-xr-x 2 root root       60 Feb 23 20:16 net
crw------- 1 root root  10,  61 Feb 23 20:16 network_latency
crw------- 1 root root  10,  60 Feb 23 20:16 network_throughput
crw-rw-rw- 1 root root   1,   3 Feb 23 20:16 null
crw------- 1 root root   1,   4 Feb 23 20:16 port
c--------- 1 root root 108,   0 Feb 23 20:16 ppp
crw------- 1 root root  10,   1 Feb 23 20:16 psaux
crw-rw-rw- 1 root root   5,   2 Feb 23 20:16 ptmx
crw-rw-rw- 1 root root   1,   8 Feb 23 20:16 random
crw------- 1 root root  10,  59 Feb 23 20:16 rfkill
crw------- 1 root root 254,   0 Feb 23 20:16 rtc0
crw------- 1 root root  10, 231 Feb 23 20:16 snapshot
drwxr-xr-x 2 root root       80 Feb 23 20:16 snd
lrwxrwxrwx 1 root root       15 Feb 23 20:16 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root       15 Feb 23 20:16 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root       15 Feb 23 20:16 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root root   5,   0 Feb 23 20:16 tty
crw------- 1 root root   4,   0 Feb 23 20:16 tty0
crw------- 1 root root   4,   1 Feb 23 20:16 tty1
crw------- 1 root root   4,  10 Feb 23 20:16 tty10
crw------- 1 root root   4,  11 Feb 23 20:16 tty11
crw------- 1 root root   4,  12 Feb 23 20:16 tty12
crw------- 1 root root   4,  13 Feb 23 20:16 tty13
crw------- 1 root root   4,  14 Feb 23 20:16 tty14
crw------- 1 root root   4,  15 Feb 23 20:16 tty15
crw------- 1 root root   4,  16 Feb 23 20:16 tty16
crw------- 1 root root   4,  17 Feb 23 20:16 tty17
crw------- 1 root root   4,  18 Feb 23 20:16 tty18
crw------- 1 root root   4,  19 Feb 23 20:16 tty19
crw------- 1 root root   4,   2 Feb 23 20:16 tty2
crw------- 1 root root   4,  20 Feb 23 20:16 tty20
crw------- 1 root root   4,  21 Feb 23 20:16 tty21
crw------- 1 root root   4,  22 Feb 23 20:16 tty22
crw------- 1 root root   4,  23 Feb 23 20:16 tty23
crw------- 1 root root   4,  24 Feb 23 20:16 tty24
crw------- 1 root root   4,  25 Feb 23 20:16 tty25
crw------- 1 root root   4,  26 Feb 23 20:16 tty26
crw------- 1 root root   4,  27 Feb 23 20:16 tty27
crw------- 1 root root   4,  28 Feb 23 20:16 tty28
crw------- 1 root root   4,  29 Feb 23 20:16 tty29
crw------- 1 root root   4,   3 Feb 23 20:16 tty3
crw------- 1 root root   4,  30 Feb 23 20:16 tty30
crw------- 1 root root   4,  31 Feb 23 20:16 tty31
crw------- 1 root root   4,  32 Feb 23 20:16 tty32
crw------- 1 root root   4,  33 Feb 23 20:16 tty33
crw------- 1 root root   4,  34 Feb 23 20:16 tty34
crw------- 1 root root   4,  35 Feb 23 20:16 tty35
crw------- 1 root root   4,  36 Feb 23 20:16 tty36
crw------- 1 root root   4,  37 Feb 23 20:16 tty37
crw------- 1 root root   4,  38 Feb 23 20:16 tty38
crw------- 1 root root   4,  39 Feb 23 20:16 tty39
crw------- 1 root root   4,   4 Feb 23 20:16 tty4
crw------- 1 root root   4,  40 Feb 23 20:16 tty40
crw------- 1 root root   4,  41 Feb 23 20:16 tty41
crw------- 1 root root   4,  42 Feb 23 20:16 tty42
crw------- 1 root root   4,  43 Feb 23 20:16 tty43
crw------- 1 root root   4,  44 Feb 23 20:16 tty44
crw------- 1 root root   4,  45 Feb 23 20:16 tty45
crw------- 1 root root   4,  46 Feb 23 20:16 tty46
crw------- 1 root root   4,  47 Feb 23 20:16 tty47
crw------- 1 root root   4,  48 Feb 23 20:16 tty48
crw------- 1 root root   4,  49 Feb 23 20:16 tty49
crw------- 1 root root   4,   5 Feb 23 20:16 tty5
crw------- 1 root root   4,  50 Feb 23 20:16 tty50
crw------- 1 root root   4,  51 Feb 23 20:16 tty51
crw------- 1 root root   4,  52 Feb 23 20:16 tty52
crw------- 1 root root   4,  53 Feb 23 20:16 tty53
crw------- 1 root root   4,  54 Feb 23 20:16 tty54
crw------- 1 root root   4,  55 Feb 23 20:16 tty55
crw------- 1 root root   4,  56 Feb 23 20:16 tty56
crw------- 1 root root   4,  57 Feb 23 20:16 tty57
crw------- 1 root root   4,  58 Feb 23 20:16 tty58
crw------- 1 root root   4,  59 Feb 23 20:16 tty59
crw------- 1 root root   4,   6 Feb 23 20:16 tty6
crw------- 1 root root   4,  60 Feb 23 20:16 tty60
crw------- 1 root root   4,  61 Feb 23 20:16 tty61
crw------- 1 root root   4,  62 Feb 23 20:16 tty62
crw------- 1 root root   4,  63 Feb 23 20:16 tty63
crw------- 1 root root   4,   7 Feb 23 20:16 tty7
crw------- 1 root root   4,   8 Feb 23 20:16 tty8
crw------- 1 root root   4,   9 Feb 23 20:16 tty9
crw------- 1 root root   4,  64 Feb 23 20:16 ttyS0
crw------- 1 root root   4,  65 Feb 23 20:16 ttyS1
crw------- 1 root root   4,  66 Feb 23 20:16 ttyS2
crw------- 1 root root   4,  67 Feb 23 20:16 ttyS3
c--------- 1 root root  10, 223 Feb 23 20:16 uinput
crw-rw-rw- 1 root root   1,   9 Feb 23 20:16 urandom
crw------- 1 root root   7,   0 Feb 23 20:16 vcs
crw------- 1 root root   7,   1 Feb 23 20:16 vcs1
crw------- 1 root root   7, 128 Feb 23 20:16 vcsa
crw------- 1 root root   7, 129 Feb 23 20:16 vcsa1
brw------- 1 root root 254,   0 Feb 23 20:16 vda
brw------- 1 root root 254,  16 Feb 23 20:16 vdb
crw------- 1 root root  10,  63 Feb 23 20:16 vga_arbiter
crw------- 1 root root 252,   1 Feb 23 20:16 vport0p1
crw-rw-rw- 1 root root   1,   5 Feb 23 20:16 zero

/dev/char:
total 0
lrwxrwxrwx 1 root root 17 Feb 23 20:16 10:236 -> ../mapper/control

/dev/cpu:
total 0
c--------- 1 root root 10, 184 Feb 23 20:16 microcode

/dev/input:
total 0
crw------- 1 root root 13, 63 Feb 23 20:16 mice

/dev/mapper:
total 0
crw------- 1 root root 10, 236 Feb 23 20:16 control

/dev/net:
total 0
crw-rw-rw- 1 root root 10, 200 Feb 23 20:16 tun

/dev/snd:
total 0
crw-rw---- 1 root audio 116,  1 Feb 23 20:16 seq
crw-rw---- 1 root audio 116, 33 Feb 23 20:16 timer Thu Feb 23 20:16:13 UTC 2012
uptime: 2.38 1.20

verbose daemon enabled
linux commmand line: panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm


Failed to connect to virtio-serial channel.

This is a fatal error and the appliance will now exit.

Usually this error is caused by either QEMU or the appliance
kernel not supporting the vmchannel method that the
libguestfs library chose to use.  Please run
'libguestfs-test-tool' and provide the complete, unedited
output to the libguestfs developers, either in a bug report
or on the libguestfs redhat com mailing list.

/dev/virtio-ports/org.libguestfs.channel.0: No such file or directory
/init: line 146: /sbin/reboot: No such file or directory
[    2.436729] Kernel panic - not syncing: Attempted to kill init!
[    2.437588] Pid: 1, comm: init Not tainted 3.2.6-2-ARCH #1
[    2.438386] Call Trace:
[    2.439192]  [<ffffffff81452925>] panic+0xa0/0x1b6
[    2.439884]  [<ffffffff8106a740>] do_exit+0x880/0x8e0
[    2.440877]  [<ffffffff811672a1>] ? rw_verify_area+0x61/0xf0
[    2.441948]  [<ffffffff8106aaf4>] do_group_exit+0x44/0xa0
[    2.442992]  [<ffffffff8106ab67>] sys_exit_group+0x17/0x20
[    2.443791]  [<ffffffff8145d382>] system_call_fastpath+0x16/0x1b
[    2.445128] Rebooting in 1 seconds..libguestfs: error: unexpected end of file when reading from daemon.

See earlier debug messages.
Or you can run 'libguestfs-test-tool' and post the complete output into
a bug report or message to the libguestfs mailing list.
libguestfs: child_cleanup: 0x22f43d0: child process died

libguestfs-test-tool: failed to launch appliance
libguestfs: closing guestfs handle 0x22f43d0 (state 0)

Nikos

On 23 February 2012 21:39, Nikos Skalkotos <skalkoto@gmail.com> wrote:
Sorry, I misread your e-mail. I'll try this, thank you.

On 23 February 2012 21:06, Evaggelos Balaskas <ebalaskas@ebalaskas.gr> wrote:
Can you plz try the attached PKGBUILD file

Evaggelos Balaskas - Unix System Engineer
http://gr.linkedin.com/in/evaggelosbalaskas