Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369615 - app-emulation/xen-tools - blktapctrl.c:765: error: implicit declaration of function 'mkdir'
Summary: app-emulation/xen-tools - blktapctrl.c:765: error: implicit declaration of fu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 2 votes (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-01 09:32 UTC by Krzysztof Tomczyk
Modified: 2011-09-02 13:25 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Buildlog (build.log,198.73 KB, text/plain)
2011-06-08 21:35 UTC, one4many
Details
Patch for xen-tools fixing the problem with latest linux-headers (xen-tools-alex1.patch,1.29 KB, text/plain)
2011-06-17 07:53 UTC, one4many
Details
New ebuild for xen-tools fixing the problem with latest linux-headers (xen-tools-3.4.2.patch,451 bytes, text/plain)
2011-06-28 12:35 UTC, Diego Augusto Molina
Details
patched ebuild (xen-tools-3.4.2-r1.ebuild,7.11 KB, patch)
2011-07-12 00:24 UTC, MMS
Details | Diff
headers patch (xen-tools-3.4.2-headers-nt-2.6.36.1.patch,1006 bytes, patch)
2011-07-12 00:25 UTC, MMS
Details | Diff
Allows to use python-2.7 and earlier as well (localpy27fixes.patch,1.52 KB, patch)
2011-07-14 22:14 UTC, Diego Augusto Molina
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Tomczyk 2011-06-01 09:32:04 UTC
can't install xen-tools. There is some problem with include header file with prototypes for mkfifo and mkdir functions (sys/stat.h is not included anywhere)

Reproducible: Always

Steps to Reproduce:
1.emerge xen-tools

Actual Results:  
[...]
gcc   -fno-strict-overflow -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdirs-all.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdir-all-blktap.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdirs-all.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdir-all-drivers.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .blktapctrl.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Werror -Wno-unused -I../lib -I../../../tools/libxc -I../../../tools/include -I../../../tools/xenstore -I../../../tools/include -I ../../libaio/src -D_GNU_SOURCE -DUSE_GCRYPT -c -o blktapctrl.o blktapctrl.c
gcc   -fno-strict-overflow -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdirs-all.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdir-all-blktap.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdirs-all.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdir-all-drivers.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .blktapctrl_linux.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Werror -Wno-unused -I../lib -I../../../tools/libxc -I../../../tools/include -I../../../tools/xenstore -I../../../tools/include -I ../../libaio/src -D_GNU_SOURCE -DUSE_GCRYPT -c -o blktapctrl_linux.o blktapctrl_linux.c
cc1: warnings being treated as errors
blktapctrl.c: In function 'open_ctrl_socket':
blktapctrl.c:765: error: implicit declaration of function 'mkdir'
blktapctrl.c:767: error: implicit declaration of function 'mkfifo'

Expected Results:  
succesful installation

Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, libc-0-r0, 2.6.37-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-r4-x86_64-Intel-R-_Xeon-R-_CPU_5160_@_3.00GHz-with-gentoo-2.0.2
Timestamp of tree: Wed, 01 Jun 2011 08:00:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1-r1, 3.1.3-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline session sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-06 00:28:07 UTC
Please attach the entire build log to this bug report.
Comment 2 soban 2011-06-07 19:54:48 UTC
Same problem : (
Comment 3 soban 2011-06-07 19:55:55 UTC
http://paste.pocoo.org/show/402374/
Comment 4 one4many 2011-06-08 21:35:37 UTC
Created attachment 276315 [details]
Buildlog
Comment 5 one4many 2011-06-08 21:36:25 UTC
Same problem here ... amd64 ...
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-10 02:20:28 UTC
(In reply to comment #3)
> http://paste.pocoo.org/show/402374/

Attach that, please, whatever it is.
Comment 7 Roger Pau Monné 2011-06-16 15:52:57 UTC
Portage 2.1.9.42 (default/linux/amd64/10.0/server, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r6-x86_64-Intel-R-_Xeon-R-_CPU_E5645_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Wed, 15 Jun 2011 21:15:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1-r1, 3.1.3-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo-euetib.upc.es/mirror/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 minimal mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre pppd readline session snmp sse sse2 ssl sysfs tcpd truetype unicode xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 8 Krzysztof Tomczyk 2011-06-17 07:44:15 UTC
It looks that this is the problem with header files. I've downgraded sys-kernel/linux-header to version 2.6.30-r1 and everything compiled clean.
Comment 9 one4many 2011-06-17 07:53:38 UTC
Created attachment 277337 [details]
Patch for xen-tools fixing the problem with latest linux-headers

Proposed fix: fixing the problem in xen-tools ... not requiring a change in linux-headers package
Comment 10 Diego Augusto Molina 2011-06-27 13:43:03 UTC
Patch given by one4many tests OK here.
amd64 and sys-kernel/linux-headers-2.6.36.1
Comment 11 Diego Augusto Molina 2011-06-28 12:35:45 UTC
Created attachment 278469 [details]
New ebuild for xen-tools fixing the problem with latest linux-headers
Comment 12 Diego Augusto Molina 2011-06-28 12:37:43 UTC
Comment on attachment 278469 [details]
New ebuild for xen-tools fixing the problem with latest linux-headers

>+++ xen-tools-3.4.2.ebuild	2011-03-25 21:31:03.000000000 -0300
>--- xen-tools-3.4.2_p1.ebuild	2011-06-28 08:56:37.256933699 -0300
>@@ -126,11 +126,6 @@
> 
> 	# Fix --as-needed issues, bug 296631
> 	epatch "${FILESDIR}/${P}-as-needed.patch"
>+
>+	# Fix headers for >=sys-kernel/linux-headers-2.6.36.1, #369615
>+	if has_version '>=sys-kernel/linux-headers-2.6.36.1' then
>+		epatch "${FILESDIR}/${PN}-3.4.2-headers-nt-2.6.36.1.patch"
>+	fi
> }
> 
> src_compile() {
Comment 13 Diego Augusto Molina 2011-07-02 21:04:47 UTC
Pleeease... comments at least?
Comment 14 one4many 2011-07-02 21:22:23 UTC
works for me ... but encountered different problem with the xen-tools together with python 2.7 ... I have a patch .. I post tomorrow (need to pull if of the server first)
Comment 15 MMS 2011-07-12 00:24:37 UTC
Created attachment 279815 [details, diff]
patched ebuild
Comment 16 MMS 2011-07-12 00:25:29 UTC
Created attachment 279817 [details, diff]
headers patch
Comment 17 MMS 2011-07-12 00:35:26 UTC
Had same problem here on x86.
Worked with patched ebuild and "xen-tools-3.4.2-headers-nt-2.6.36.1.patch"

Thanks
Comment 18 Thomas Kahle (RETIRED) gentoo-dev 2011-07-13 08:39:34 UTC
Please don't just add aliases for architechtures yourself.  We do keywording, maintainers fix bugs.
Comment 19 Diego Augusto Molina 2011-07-14 22:14:03 UTC
Created attachment 280077 [details, diff]
Allows to use python-2.7 and earlier as well
Comment 20 Diego Augusto Molina 2011-07-14 22:15:40 UTC
Comment on attachment 280077 [details, diff]
Allows to use python-2.7 and earlier as well

(In reply to comment #14)
> works for me ... but encountered different problem with the xen-tools together
> with python 2.7 ... I have a patch .. I post tomorrow (need to pull if of the
> server first)

Hi, maybe the problem you're having with python 2.7 is (or at least is similar to):

Unexpected error: <type 'exceptions.AttributeError'>

Please report to xen-devel [at] lists
Traceback (most recent call last):
File "/usr/sbin/xm", line 7, in <module>
main.main(sys.argv)
File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3616, in
main
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3640, in
_run_c
md
return True, cmd(args)
File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 969, in
xm_list
doms = getDomains(params, state, use_long)
File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 933, in
getDoma
ins
return server.xend.domains_with_state(True, state, full)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.7/site-packages/xen/util/xmlrpcclient.py", line
118,
in __request
response = xmlrpclib.ServerProxy.__request(self, methodname, params)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1570, in __request
verbose=self.__verbose
File "/usr/lib64/python2.7/site-packages/xen/util/xmlrpcclient.py", line
55, i
n request
request_body, verbose)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1294, in single_request
response = h.getresponse(buffering=True)
AttributeError: HTTPUnix instance has no attribute 'getresponse' 


That error came to me using python 2.7, and I found a solution on the internet.
This is the original thread: http://www.gossamer-threads.com/lists/xen/devel/182210
This is the original patch: http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=19159;list=xen

That patch can be applied safely if you have python 2.6 and earlier according to the author (though I haven't tested). I tested that patch with python 2.7 and it runs smooth. So I think that if you all guys test this ok the patch given by one4many and the one I found should be joined together.
Comment 21 Diego Augusto Molina 2011-07-25 14:49:00 UTC
Hi guys, it's about 2 months for this bug and 11 days of inactivity, will this be solved soon?

I've got it compiled by hand and working following the ebuild as a guide. Additionally, I applied: patch from one4many, patch allowing use of python-2.7 and earlier I found on the internet. These would be the USE flags I've been testing with: acm debug pygrub screen -api -custom-cflags -doc -flask -hvm. I did several tests which include cpu and i/o bound operations and different network configurations.

one4many, can you tell if the issue with python-2.7 is solved with the patch?
What other issues are to be tested? MMS?
Comment 22 one4many 2011-07-25 15:53:09 UTC
Hi there,

I just tested it and the python-2.7 patches in combination with my patch fix the packages entirely. Who ever is the maintainer of the package should bring a new version so I can get rid of overlay-fix.
Comment 23 Ian Delaney (RETIRED) gentoo-dev 2011-09-01 14:07:57 UTC
Yes there was a change of kernel headers to 2.6.38

xen-tools-3.4 is now well superceded.
Comment 24 one4many 2011-09-01 14:18:57 UTC
Well xen-3.4 is NOT superseded from a stability point of view ... I had to move back to 3.4 because this way the only way to keep a (IO) busy XEN server stable. 4.x crashes on heavy IO quite regularly ...
Comment 25 Diego Augusto Molina 2011-09-02 04:02:47 UTC
(In reply to comment #24)
> Well xen-3.4 is NOT superseded from a stability point of view ... I had to move
> back to 3.4 because this way the only way to keep a (IO) busy XEN server
> stable. 4.x crashes on heavy IO quite regularly ...

Well that's interesting. i was just about to start testing XEN-4*. Can you be more explicit about the difficulties you had and how you have tested? I really don't want to go off topic here so you may just post a link to something (bug report, forum thread, blog, etc.) or mail me.

Thanks!
Comment 26 one4many 2011-09-02 13:25:40 UTC
Hi Diego,

I built a new server based on the following components:
- Supermicro SuperChassis 216E26-R1200LPB (http://www.supermicro.com/products/chassis/2U/216/SC216E26-R1200LP.cfm )
- TYAN S8236 - S8236WGM3NR (http://www.tyan.com/product_SKU_spec.aspx?ProductType=MB&pid=668&SKU=600000176 )
- 3ware SAS 9750-8i Controller (http://www.lsi.com/products/storagecomponents/Pages/3wareSAS9750-8i.aspx )
- Several SSDs (6Gb/s) and HDDs (3Gb/s)

The machine is rock stable on XEN 3.x and a vanilla Linux Kernel. I can achieve 2.5 GB/s on the SSDs and around 600 to 800 MB/s on the HDDs continuously for days. 
As soon as I have a XEN dom0 or domU (no difference here) the performance numbers are a not that high but near as good. Unfortunately the machine hangs itself after 10 minutes of heavy IO (complete standstill not crash or dump). I opened a ticket with LSI because it looks like a controller problem and I sent diagnose dumps back and forth. Even RMAd (replaced) the controller without any luck. After playing around with controllers from INTEL (nearly the same spec) and a NoName 4 channel SAS controller (no cache ram) the machine also crashed out (with the Intel Card within seconds of heavy IO).  
This strongly indicates that XEN 4.x has a different problem here which has not been solved yet (I tried the 4.0.x and 4.1.x series).

Hope this helps.