Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th August 2007, 15:38
fmanders fmanders is offline
Junior Member
 
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 8th August 2007, 15:46
geekman geekman is offline
Member
 
Join Date: Sep 2006
Location: Sydney, Australia
Posts: 56
Thanks: 1
Thanked 10 Times in 10 Posts
Send a message via ICQ to geekman Send a message via MSN to geekman
Default

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.
Reply With Quote
  #3  
Old 8th August 2007, 15:51
fmanders fmanders is offline
Junior Member
 
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

/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
Reply With Quote
  #4  
Old 8th August 2007, 16:14
geekman geekman is offline
Member
 
Join Date: Sep 2006
Location: Sydney, Australia
Posts: 56
Thanks: 1
Thanked 10 Times in 10 Posts
Send a message via ICQ to geekman Send a message via MSN to geekman
Default

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.
Reply With Quote
  #5  
Old 8th August 2007, 16:33
fmanders fmanders is offline
Junior Member
 
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #6  
Old 9th August 2007, 05:36
geekman geekman is offline
Member
 
Join Date: Sep 2006
Location: Sydney, Australia
Posts: 56
Thanks: 1
Thanked 10 Times in 10 Posts
Send a message via ICQ to geekman Send a message via MSN to geekman
Default

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.
Reply With Quote
  #7  
Old 9th August 2007, 16:49
fmanders fmanders is offline
Junior Member
 
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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')
Reply With Quote
  #8  
Old 10th August 2007, 16:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,714 Times in 2,556 Posts
Default

Do you get any error messages when you run
Code:
/etc/init.d/xend restart
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 10th August 2007, 16:47
fmanders fmanders is offline
Junior Member
 
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #10  
Old 10th August 2007, 17:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,714 Times in 2,556 Posts
 
Default

Did you try to restart it as root?

What's the output of
Code:
ls -l /etc/xen/xend-config.sxp
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Xen 3.0.3 on Debian Sarge grel HOWTO-Related Questions 3 6th January 2007 15:58
Problem with Xen / Debian & mkinitrd.yaird. TheDreamer HOWTO-Related Questions 3 1st November 2006 17:45
Xen 3.0 and 3Ware 9550sx Z3n HOWTO-Related Questions 1 29th June 2006 23:39
Is it possible to start a domU from Xen 2.x under Xen 3.0? Gurke666 Kernel Questions 1 25th April 2006 16:34
error while installing..... securitywonks Installation/Configuration 1 23rd December 2005 12:07


All times are GMT +2. The time now is 21:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.