
8th August 2007, 15:38
|
|
Junior Member
|
|
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
mkinitrd.yaird error while installing xen
Hello, when i follow the "The Perfect Xen 3.1.0 Setup For Debian Etch (i386)" everything works fine untill i get to this :
# mkinitrd.yaird -o /boot/initrd.img-2.6.18-xen 2.6.18-xen
when i use that command i get the following error :
yaird error: block device '/dev/hda1' unavailable (/etc/fstab:5) (fatal)
been looking on google, but cant find someone with the same error, so i'm hoping any of you guys know ?
Greets,
Ferry.
|

8th August 2007, 15:46
|
|
Member
|
|
Join Date: Sep 2006
Location: Sydney, Australia
Posts: 56
Thanks: 1
Thanked 7 Times in 7 Posts
|
|
Looks like either your fstab file isn't setup correctly, or you are trying to use a partition that doesn't exist. Could you post the /etc/fstab file and the output of fdisk -l (L)?
Thanks.
|

8th August 2007, 15:51
|
|
Junior Member
|
|
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
/etc/fstab
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdd /media/cdrom0 iso9660 ro,user,noauto 0 0
fdisk -l
Code:
Disk /dev/sda: 80.0 GB, 80032038912 bytes
255 heads, 63 sectors/track, 9730 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9400 75505468+ 83 Linux
/dev/sda2 9401 9730 2650725 5 Extended
/dev/sda5 9401 9730 2650693+ 82 Linux swap / Solaris
|

8th August 2007, 16:14
|
|
Member
|
|
Join Date: Sep 2006
Location: Sydney, Australia
Posts: 56
Thanks: 1
Thanked 7 Times in 7 Posts
|
|
Did you use some sort of guide to setup fstab? Because it looks as though it's been setup for use on a different system. All your drives are sda (sata I think?) too tired to elaborate on what you'd need right now...but I can in the morning if nobody else catches it.
Thanks.
|

8th August 2007, 16:33
|
|
Junior Member
|
|
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for your help sofar.
the system is installed fresh (about a year ago) updated from sarge to etch few days ago. the kernel was originally made on a other server, but the hardware is identical.
|

9th August 2007, 05:36
|
|
Member
|
|
Join Date: Sep 2006
Location: Sydney, Australia
Posts: 56
Thanks: 1
Thanked 7 Times in 7 Posts
|
|
Ok I think this is what you need, the only thing i'm not too sure about is /dev/sda1...does that mount to /boot? I assume so because that partition is the only bootable one.
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 /boot ext3 defaults,errors=remount-ro 0 1
/dev/sda5 none swap sw 0 0
/dev/sda2 / ext3 defaults,errors=remount-ro 0 1
Thanks.
|

9th August 2007, 16:49
|
|
Junior Member
|
|
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
yes i changed the fstab now and the install works
only now i'm walking into this error, when i create a new image and try to start it i get :
Error: Unable to connect to xend: No such file or directory. Is xend running?
ps gives :
Code:
# ps aux | grep xen
root 13 0.0 0.0 0 0 ? S< 02:03 0:00 [xenwatch]
root 14 0.0 0.0 0 0 ? S< 02:03 0:00 [xenbus]
root 3254 0.0 0.0 2096 812 ? S 02:03 0:00 xenstored --pid-file /var/run/xenstore.pid
root 3259 0.0 0.1 9624 5272 ? S 02:03 0:00 python /usr/sbin/xend start
root 3261 0.0 0.0 10188 516 ? S 02:03 0:00 xenconsoled
root 3262 0.0 0.0 10188 516 ? S 02:03 0:00 xenconsoled
root 3263 0.0 0.0 10188 516 ? S 02:03 0:00 xenconsoled
root 3264 0.0 0.2 12044 6064 ? S 02:03 0:00 python /usr/sbin/xend start
root 3268 0.0 0.2 12044 6064 ? S 02:03 0:00 python /usr/sbin/xend start
root 3269 0.0 0.2 12044 6064 ? S 02:03 0:00 python /usr/sbin/xend start
root 4946 0.0 0.0 1864 624 pts/1 S+ 23:09 0:00 grep xen
/var/log/xen/xend.log shows me :
Code:
[2007-08-09 02:02:21 3258] INFO (__init__:1072) Xend stopped due to signal 15.
[2007-08-09 02:03:31 3264] INFO (__init__:1072) Xend Daemon started
[2007-08-09 02:03:31 3264] INFO (__init__:1072) Xend changeset: unavailable .
[2007-08-09 02:03:31 3264] INFO (__init__:1072) Xend version: Unknown.
[2007-08-09 02:03:31 3264] ERROR (__init__:1072) Exception starting xend ((13, 'Permission denied'))
Traceback (most recent call last):
File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 345, in run
servers = SrvServer.create()
File "/usr/lib/python/xen/xend/server/SrvServer.py", line 254, in create
root.putChild('xend', SrvRoot())
File "/usr/lib/python/xen/xend/server/SrvRoot.py", line 40, in __init__
self.get(name)
File "/usr/lib/python/xen/web/SrvDir.py", line 82, in get
val = val.getobj()
File "/usr/lib/python/xen/web/SrvDir.py", line 52, in getobj
self.obj = klassobj()
File "/usr/lib/python/xen/xend/server/SrvNode.py", line 30, in __init__
self.xn = XendNode.instance()
File "/usr/lib/python/xen/xend/XendNode.py", line 658, in instance
inst = XendNode()
File "/usr/lib/python/xen/xend/XendNode.py", line 83, in __init__
self.other_config["xen_pagesize"] = self.xeninfo_dict()["xen_pagesize"]
File "/usr/lib/python/xen/xend/XendNode.py", line 622, in xeninfo_dict
return dict(self.xeninfo())
File "/usr/lib/python/xen/xend/XendNode.py", line 572, in xeninfo
info['xen_scheduler'] = self.xenschedinfo()
File "/usr/lib/python/xen/xend/XendNode.py", line 562, in xenschedinfo
sched_id = self.xc.sched_id_get()
Error: (13, 'Permission denied')
|

10th August 2007, 16:19
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Do you get any error messages when you run
Code:
/etc/init.d/xend restart
?
|

10th August 2007, 16:47
|
|
Junior Member
|
|
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
nope, no error messages, it also runs according to ps.
altho it seems it gets a permission error at some point, but doesn't crash because of it.
|

10th August 2007, 17:05
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Did you try to restart it as root?
What's the output of
Code:
ls -l /etc/xen/xend-config.sxp
?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 22:05.
|
Recent comments
12 hours 53 min ago
22 hours 21 min ago
23 hours 11 min ago
1 day 2 hours ago
1 day 7 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 19 hours ago
2 days 40 min ago
2 days 2 hours ago