Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336487 - xend (xen-4.0.0) on xen-sources-2.6.34-r3 not started
Summary: xend (xen-4.0.0) on xen-sources-2.6.34-r3 not started
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-08 20:45 UTC by Evgeniy Zaitsev
Modified: 2011-09-08 15:49 UTC (History)
4 users (show)

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


Attachments
xend.log and xend-debug.log files (xend-logs.txt,6.51 KB, text/plain)
2010-09-08 20:47 UTC, Evgeniy Zaitsev
Details
.config file for kernel xen-sources-2.6.34-r3 (kernel-xen-sources-2.6.34-r3.config,56.50 KB, text/plain)
2010-09-08 20:48 UTC, Evgeniy Zaitsev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeniy Zaitsev 2010-09-08 20:45:13 UTC
After boot under xen-sources-2.6.34-r3 Xen dom0 kernel, xend (4.0.0) daemon can't start

I have xen-4.0.0 and xen dom0 kernel from xen-sources-2.6.34-r3
After booting kernel and starting xend, xend do not start

With kernel from xen-sources-2.6.32-r1 all ok - xend start and working.

M.b. I have wrong kernel .config for 2.6.34 xen kernel (attached to this message)?
Files like /sys/bus/scsi/devices/host0/vendor really missed in /sys fs, when booting with 2.6.34 kernel (and exist on 2.6.32 kernel).

Or problem at another place?

Reproducible: Always

Steps to Reproduce:
1. make kernel from xen-sources-2.6.34-r3, reboot machine
2. try to /etc/init.d/xend start
3. xend daemon can't start
Comment 1 Evgeniy Zaitsev 2010-09-08 20:47:38 UTC
Created attachment 246497 [details]
xend.log and xend-debug.log files
Comment 2 Evgeniy Zaitsev 2010-09-08 20:48:20 UTC
Created attachment 246498 [details]
.config file for kernel xen-sources-2.6.34-r3
Comment 3 Evgeniy Zaitsev 2010-10-29 06:43:51 UTC
sulution found in forum http://forums.gentoo.org/viewtopic-p-6455329.html#6455329

after change "СONFIG_XEN_DEV_EVTCHN=y" and recompile kernel, xend start and work successfull. 

СONFIG_XEN_DEV_EVTCHN=m no not fix problem

A think, that xen-sources ebuild may check this kernel option.
Comment 4 Alexey Shvetsov archtester gentoo-dev 2011-03-26 11:40:06 UTC
Xen 4.1 in tree. Please test with it and reopen if it doesnt work
Comment 5 Reto Gantenbein (ganto) 2011-03-27 14:16:02 UTC
Same error on Xen-4.1.0/xen-sources-2.6.34-r3 even with СONFIG_XEN_DEV_EVTCHN=y
Comment 6 Reto Gantenbein (ganto) 2011-03-27 14:29:03 UTC
(In reply to comment #5)
> Same error on Xen-4.1.0/xen-sources-2.6.34-r3 even with СONFIG_XEN_DEV_EVTCHN=y

Sorry... after looking at the log files more properly my error might be something else. I still get the "cat: /sys/bus/scsi/devices/host*/*: No such file or directory" errors in xend-debug.log, but at the end it fails with "ERROR (SrvDaemon:349) Exception starting xend ((19, 'No such device'))".

Might likely be caused by the update from 4.0.1 to 4.1.0 which requires some config changes. I apologize for the noise.
Comment 7 Marcel Lamm 2011-03-28 13:48:23 UTC
any ideas what those config changes are? i'm getting the very same error
Comment 8 Kenta Onishi 2011-03-30 15:32:00 UTC
(In reply to comment #7)
> any ideas what those config changes are? i'm getting the very same error

run /etc/init.d/xencommons start before /etc/init.d/xend start.


BTW, xen 4.1.0 doesn't need xend running and only need xencommons
if you use xl instead of xm.
see: http://wiki.xen.org/xenwiki/MigrationGuideToXen4.1%2B