Simon
2006-Mar-30 20:08 UTC
[Xen-users] Debian DomU no network and modprobe errors on xm create
Hi There, I have my debian sarge dom0 on a IBM xSeries 206 with a SATA drive (seen as /dev/sda) working just peachy with the xen 3.0.1 packages from http://packages.debianbase.de/. I have followed the instructions for creating a debian domU from these sources: http://wiki.xensource.com/xenwiki/DebianDomU http://www.howtoforge.com/perfect_setup_xen3_debian_p4 This is now my current domU config file: name="dev-domU" kernel="/boot/xen-linux-2.6.12.6-xen" root="/dev/hda1" memory=512 disk=[ ''phy:/dev/xenvg/domu1,hda1,w'', ''phy:/dev/xenvg/domu1-swap,hda2,w'' ] vif=[ '''' ] dhcp="off" ip="192.168.1.100" netmask="255.255.255.0" gateway="192.168.1.254" hostname="dev" #extra="3" When i create the domU, there is no network and im having issues as per below... looking at the boot process, im getting this: Kernel command line: ip=192.168.1.100:1.2.3.4:192.168.1.254:255.255.255.0:dev:eth0:off root=/dev/hda1 and modprobe: FATAL: Error inserting rtc (/lib/modules/2.6.12.6-xen/kernel/drivers/char/rtc.ko): Input/output error Here are the full outputs: http://gremin.orcon.net.nz/ If someone could take a look and point me in the correct direction on this one. We are trying to migrate our current dev platform to seperate xen domU''s for apache/mysql/ftp etc as the first steps in consolidating our production platform to xen in the future. Thanks, Simon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon
2006-Apr-01 06:17 UTC
[Xen-users] Debian DomU no network and modprobe errors on xm create
Would anybody be able to help me here? It is much appreciated! Simon ---------- Forwarded message ---------- From: Simon <greminn@gmail.com> Date: Mar 31, 2006 8:08 AM Subject: Debian DomU no network and modprobe errors on xm create To: xen-users@lists.xensource.com Hi There, I have my debian sarge dom0 on a IBM xSeries 206 with a SATA drive (seen as /dev/sda) working just peachy with the xen 3.0.1 packages from http://packages.debianbase.de/. I have followed the instructions for creating a debian domU from these sources: http://wiki.xensource.com/xenwiki/DebianDomU http://www.howtoforge.com/perfect_setup_xen3_debian_p4 This is now my current domU config file: name="dev-domU" kernel="/boot/xen-linux-2.6.12.6-xen" root="/dev/hda1" memory=512 disk=[ ''phy:/dev/xenvg/domu1,hda1,w'', ''phy:/dev/xenvg/domu1-swap,hda2,w'' ] vif=[ '''' ] dhcp="off" ip="192.168.1.100" netmask="255.255.255.0" gateway="192.168.1.254" hostname="dev" #extra="3" When i create the domU, there is no network and im having issues as per below... looking at the boot process, im getting this: Kernel command line: ip=192.168.1.100:1.2.3.4:192.168.1.254:255.255.255.0:dev:eth0:off root=/dev/hda1 and modprobe: FATAL: Error inserting rtc (/lib/modules/2.6.12.6-xen/kernel/drivers/char/rtc.ko): Input/output error Here are the full outputs: http://gremin.orcon.net.nz/ If someone could take a look and point me in the correct direction on this one. We are trying to migrate our current dev platform to seperate xen domU''s for apache/mysql/ftp etc as the first steps in consolidating our production platform to xen in the future. Thanks, Simon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Itamar Reis Peixoto
2006-Apr-01 06:28 UTC
Re: [Xen-users] Debian DomU no network and modprobe errors on xm create
first, check if /lib/modules/2.6.12.6-xen/kernel/drivers/char/rtc.ko exists on domU second edit /etc/default/rcS and put on the lasted line HWCLOCKACCESS=no and reboot your domU Hi There, I have my debian sarge dom0 on a IBM xSeries 206 with a SATA drive (seen as /dev/sda) working just peachy with the xen 3.0.1 packages from http://packages.debianbase.de/. I have followed the instructions for creating a debian domU from these sources: http://wiki.xensource.com/xenwiki/DebianDomU http://www.howtoforge.com/perfect_setup_xen3_debian_p4 This is now my current domU config file: name="dev-domU" kernel="/boot/xen-linux-2.6.12.6-xen" root="/dev/hda1" memory=512 disk=[ ''phy:/dev/xenvg/domu1,hda1,w'', ''phy:/dev/xenvg/domu1-swap,hda2,w'' ] vif=[ '''' ] dhcp="off" ip="192.168.1.100" netmask="255.255.255.0" gateway="192.168.1.254" hostname="dev" #extra="3" When i create the domU, there is no network and im having issues as per below... looking at the boot process, im getting this: Kernel command line: ip=192.168.1.100:1.2.3.4:192.168.1.254:255.255.255.0:dev:eth0:off root=/dev/hda1 and modprobe: FATAL: Error inserting rtc (/lib/modules/2.6.12.6-xen/kernel/drivers/char/rtc.ko): Input/output error Here are the full outputs: http://gremin.orcon.net.nz/ If someone could take a look and point me in the correct direction on this one. We are trying to migrate our current dev platform to seperate xen domU''s for apache/mysql/ftp etc as the first steps in consolidating our production platform to xen in the future. Thanks, Simon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andrej Radonic
2006-Apr-01 08:21 UTC
Re: [Xen-users] Debian DomU no network and modprobe errors on xm create
Simon wrote:> Hi There, I have my debian sarge dom0 on a IBM xSeries 206 with a SATA > drive (seen as /dev/sda) working just peachy with the xen 3.0.1 > packages from http://packages.debianbase.de/. I have followed the > instructions for creating a debian domU from these sources: > > http://wiki.xensource.com/xenwiki/DebianDomU > http://www.howtoforge.com/perfect_setup_xen3_debian_p4 > > This is now my current domU config file: > > name="dev-domU" > kernel="/boot/xen-linux-2.6.12.6-xen" > root="/dev/hda1" > memory=512 > disk=[ ''phy:/dev/xenvg/domu1,hda1,w'', > ''phy:/dev/xenvg/domu1-swap,hda2,w'' ] > vif=[ '''' ] > dhcp="off" > ip="192.168.1.100" >Simon, the "IP" Parameter is no longer allowed outside the "vif" statement. Comment it out and see if networking comes up after stopping / starting (not "restart"-ing) your domU Greetz, Andrej _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon
2006-Apr-02 04:25 UTC
Re: [Xen-users] Debian DomU no network and modprobe errors on xm create
On 4/1/06, Itamar Reis Peixoto <itamar@ispbrasil.com.br> wrote:> first, check if /lib/modules/2.6.12.6-xen/kernel/drivers/char/rtc.ko exists > on domUYep -can confirm that this exists in domU> > second > > edit /etc/default/rcS and put on the lasted line HWCLOCKACCESS=no > > and reboot your domUAdded this, but no change.> > > Hi There, I have my debian sarge dom0 on a IBM xSeries 206 with a SATA > drive (seen as /dev/sda) working just peachy with the xen 3.0.1 > packages from http://packages.debianbase.de/. I have followed the > instructions for creating a debian domU from these sources: > > http://wiki.xensource.com/xenwiki/DebianDomU > http://www.howtoforge.com/perfect_setup_xen3_debian_p4 > > This is now my current domU config file: > > name="dev-domU" > kernel="/boot/xen-linux-2.6.12.6-xen" > root="/dev/hda1" > memory=512 > disk=[ ''phy:/dev/xenvg/domu1,hda1,w'', > ''phy:/dev/xenvg/domu1-swap,hda2,w'' ] > vif=[ '''' ] > dhcp="off" > ip="192.168.1.100" > netmask="255.255.255.0" > gateway="192.168.1.254" > hostname="dev" > #extra="3" > > When i create the domU, there is no network and im having issues as > per below... looking at the boot process, im getting this: > > Kernel command line: > ip=192.168.1.100:1.2.3.4:192.168.1.254:255.255.255.0:dev:eth0:off > root=/dev/hda1 > > and > modprobe: FATAL: Error inserting rtc > (/lib/modules/2.6.12.6-xen/kernel/drivers/char/rtc.ko): Input/output > error > > Here are the full outputs: http://gremin.orcon.net.nz/ > > If someone could take a look and point me in the correct direction on > this one. We are trying to migrate our current dev platform to > seperate xen domU''s for apache/mysql/ftp etc as the first steps in > consolidating our production platform to xen in the future. > > Thanks, Simon > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon
2006-Apr-02 04:26 UTC
Re: [Xen-users] Debian DomU no network and modprobe errors on xm create
On 4/1/06, Andrej Radonic <andrej.radonic@koeln.de> wrote:> Simon wrote: > > Hi There, I have my debian sarge dom0 on a IBM xSeries 206 with a SATA > > drive (seen as /dev/sda) working just peachy with the xen 3.0.1 > > packages from http://packages.debianbase.de/. I have followed the > > instructions for creating a debian domU from these sources: > > > > http://wiki.xensource.com/xenwiki/DebianDomU > > http://www.howtoforge.com/perfect_setup_xen3_debian_p4 > > > > This is now my current domU config file: > > > > name="dev-domU" > > kernel="/boot/xen-linux-2.6.12.6-xen" > > root="/dev/hda1" > > memory=512 > > disk=[ ''phy:/dev/xenvg/domu1,hda1,w'', > > ''phy:/dev/xenvg/domu1-swap,hda2,w'' ] > > vif=[ '''' ] > > dhcp="off" > > ip="192.168.1.100" > > > Simon, > the "IP" Parameter is no longer allowed outside the "vif" statement. > Comment it out and see if networking comes up after stopping / starting > (not "restart"-ing) your domUThanks for the TIP, iv updated the conf file to have: vif=[''ip=192.168.1.100''] and removed the old line, but still no go. Will keep playing here. Simon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Itamar Reis Peixoto
2006-Apr-02 04:34 UTC
Re: [Xen-users] Debian DomU no network and modprobe errors on xmcreate
edit /etc/default/rcS and put on the lasted line HWCLOCKACCESS=no Yep -can confirm that this exists in domU> Hi There, I have my debian sarge dom0 on a IBM xSeries 206 with a SATA > drive (seen as /dev/sda) working just peachy with the xen 3.0.1 > packages from http://packages.debianbase.de/. I have followed the > instructions for creating a debian domU from these sources: > > http://wiki.xensource.com/xenwiki/DebianDomU > http://www.howtoforge.com/perfect_setup_xen3_debian_p4 > > This is now my current domU config file: > > name="dev-domU" > kernel="/boot/xen-linux-2.6.12.6-xen" > root="/dev/hda1" > memory=512 > disk=[ ''phy:/dev/xenvg/domu1,hda1,w'', > ''phy:/dev/xenvg/domu1-swap,hda2,w'' ] > vif=[ '''' ] > dhcp="off" > ip="192.168.1.100" > netmask="255.255.255.0" > gateway="192.168.1.254" > hostname="dev" > #extra="3" > > When i create the domU, there is no network and im having issues as > per below... looking at the boot process, im getting this: > > Kernel command line: > ip=192.168.1.100:1.2.3.4:192.168.1.254:255.255.255.0:dev:eth0:off > root=/dev/hda1 > > and > modprobe: FATAL: Error inserting rtc > (/lib/modules/2.6.12.6-xen/kernel/drivers/char/rtc.ko): Input/output > error > > Here are the full outputs: http://gremin.orcon.net.nz/ > > If someone could take a look and point me in the correct direction on > this one. We are trying to migrate our current dev platform to > seperate xen domU''s for apache/mysql/ftp etc as the first steps in > consolidating our production platform to xen in the future. > > Thanks, Simon >-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 3/31/2006 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon
2006-Apr-02 20:04 UTC
Re: [Xen-users] Debian DomU no network and modprobe errors on xmcreate
On 4/2/06, Itamar Reis Peixoto <itamar@ispbrasil.com.br> wrote:> edit /etc/default/rcS and put on the lasted line HWCLOCKACCESS=no > > > Yep -can confirm that this exists in domUYep!: "HWCLOCKACCESS=no" is on the last line in the domU''s /etc/default/rcS file. Here is the output from the boot: Setting the System Clock using the Hardware Clock as reference... rtc: IRQ 8 is not free. modprobe: FATAL: Error inserting rtc (/lib/modules/2.6.12.6-xen/kernel/drivers/char/rtc.ko): Input/output error rtc: IRQ 8 is not free. modprobe: FATAL: Error inserting rtc (/lib/modules/2.6.12.6-xen/kernel/drivers/char/rtc.ko): Input/output error System Clock set. System local time is now Sun Apr 2 20:00:36 UTC 2006. All the rest of the boot seems fine, except that i have not eth0. Simon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon
2006-Apr-02 20:12 UTC
Re: [Xen-users] Debian DomU no network and modprobe errors on xm create
On 4/2/06, Simon <greminn@gmail.com> wrote:> On 4/1/06, Andrej Radonic <andrej.radonic@koeln.de> wrote: > > the "IP" Parameter is no longer allowed outside the "vif" statement. > > Comment it out and see if networking comes up after stopping / starting > > (not "restart"-ing) your domU > > Thanks for the TIP, iv updated the conf file to have: > > vif=[''ip=192.168.1.100''] > > and removed the old line, but still no go. Will keep playing here.If i add a eth0 line to the domU''s /etc/network/interfaces, so that it looks like this: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp Networking comes up OK, having been assigned the IP from our network DHCP server... But this is not the correct way todo this is it? As you are supposed to have the xen assign the IP? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users