Hi, I have a Debian 4.0 XEN dom, which is giving me some strange errors on the kernel when I try and use iptables, as such: stats:/etc/snmp# iptables -L -v Note: /etc/modules.conf is more recent than /lib/modules/2.6.18-8.1.15.el5xen/modules.dep modprobe: QM_MODULES: Function not implemented modprobe: QM_MODULES: Function not implemented modprobe: Can''t locate module ip_tables iptables v1.3.6: can''t initialize iptables table `filter'': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. When I run apt-get upgrade, there''s no newer kernel to install. I also don''t see grub anywhere, so I don''t know how to manually install & load a different kernel at boot time, on the domU. I suppose I could just install grub, and a kernel, but I don''t know how it will affect the VPS. Can anyone point me into the right direction? -- Kind Regards Rudi Ahlers _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thomas Halinka
2009-Feb-19 22:38 UTC
Re: [Xen-users] iptables & kernel problems on Debian domU
Hi Rudi, i thought you read my book ;) Am Freitag, den 20.02.2009, 00:14 +0200 schrieb Rudi Ahlers:> Hi, > > I have a Debian 4.0 XEN dom, which is giving me some strange errors on > the kernel when I try and use iptables, as such: > > stats:/etc/snmp# iptables -L -v > Note: /etc/modules.conf is more recent than > /lib/modules/2.6.18-8.1.15.el5xen/modules.dep^^^^^^^^^^^^^^^^^^^^ Something strange here This is not a Debian-Kernel!> modprobe: QM_MODULES: Function not implemented > > modprobe: QM_MODULES: Function not implemented > > modprobe: Can''t locate module ip_tables > iptables v1.3.6: can''t initialize iptables table `filter'': iptables > who? (do you need to insmod?) > Perhaps iptables or your kernel needs to be upgraded. > > > When I run apt-get upgrade, there''s no newer kernel to install. > I also don''t see grub anywhere, so I don''t know how to manually > install & load a different kernel at boot time, on the domU. I suppose > I could just install grub, and a kernel, but I don''t know how it will > affect the VPS.Again - this is not a Debian-Kernel!> Can anyone point me into the right direction?Let me guess that the problem is solved through: - rebuilding initrd of dom0 or - installing the debian-Kernel in _domU_ and altering domu.cfg in _dom0_ or - installing the debian-Kernel in _domU_ and make usage of pvgrub/pygrub in dom0 hth, Thomas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thomas Halinka
2009-Feb-19 23:09 UTC
Re: [Xen-users] iptables & kernel problems on Debian domU
Hi again, Am Donnerstag, den 19.02.2009, 23:38 +0100 schrieb Thomas Halinka:> Hi Rudi, > > i thought you read my book ;) > > Am Freitag, den 20.02.2009, 00:14 +0200 schrieb Rudi Ahlers: > > Hi, > > > > I have a Debian 4.0 XEN dom, which is giving me some strange errors on > > the kernel when I try and use iptables, as such: > > > > stats:/etc/snmp# iptables -L -v > > Note: /etc/modules.conf is more recent than > > /lib/modules/2.6.18-8.1.15.el5xen/modules.dep > ^^^^^^^^^^^^^^^^^^^^ > Something strange here > > This is not a Debian-Kernel! > > > modprobe: QM_MODULES: Function not implemented > > > > modprobe: QM_MODULES: Function not implemented > > > > modprobe: Can''t locate module ip_tables > > iptables v1.3.6: can''t initialize iptables table `filter'': iptables > > who? (do you need to insmod?) > > Perhaps iptables or your kernel needs to be upgraded. > > > > > > When I run apt-get upgrade, there''s no newer kernel to install. > > I also don''t see grub anywhere, so I don''t know how to manually > > install & load a different kernel at boot time, on the domU. I suppose > > I could just install grub, and a kernel, but I don''t know how it will > > affect the VPS. > > Again - this is not a Debian-Kernel! > > > Can anyone point me into the right direction? > > Let me guess that the problem is solved through: > > - rebuilding initrd of dom0 > > or > > - installing the debian-Kernel in _domU_Forgot to mention that you have to copy over /lib/modules/$your-kernel-xen from domU into dom0:/lib/modules/> and altering domu.cfg in > _dom0_ ....Regards, Thomas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2009-Feb-20 04:25 UTC
Re: [Xen-users] iptables & kernel problems on Debian domU
On Fri, Feb 20, 2009 at 1:09 AM, Thomas Halinka <lists@thohal.de> wrote:> Hi again, > > Am Donnerstag, den 19.02.2009, 23:38 +0100 schrieb Thomas Halinka: >> Hi Rudi, >> >> i thought you read my book ;) >> >> Am Freitag, den 20.02.2009, 00:14 +0200 schrieb Rudi Ahlers: >> > Hi, >> > >> > I have a Debian 4.0 XEN dom, which is giving me some strange errors on >> > the kernel when I try and use iptables, as such: >> > >> > stats:/etc/snmp# iptables -L -v >> > Note: /etc/modules.conf is more recent than >> > /lib/modules/2.6.18-8.1.15.el5xen/modules.dep >> ^^^^^^^^^^^^^^^^^^^^ >> Something strange here >> >> This is not a Debian-Kernel! >> >> > modprobe: QM_MODULES: Function not implemented >> > >> > modprobe: QM_MODULES: Function not implemented >> > >> > modprobe: Can''t locate module ip_tables >> > iptables v1.3.6: can''t initialize iptables table `filter'': iptables >> > who? (do you need to insmod?) >> > Perhaps iptables or your kernel needs to be upgraded. >> > >> > >> > When I run apt-get upgrade, there''s no newer kernel to install. >> > I also don''t see grub anywhere, so I don''t know how to manually >> > install & load a different kernel at boot time, on the domU. I suppose >> > I could just install grub, and a kernel, but I don''t know how it will >> > affect the VPS. >> >> Again - this is not a Debian-Kernel! >> >> > Can anyone point me into the right direction? >> >> Let me guess that the problem is solved through: >> >> - rebuilding initrd of dom0 >> >> or >> >> - installing the debian-Kernel in _domU_ > > Forgot to mention that you have to copy > over /lib/modules/$your-kernel-xen from domU into dom0:/lib/modules/ > >> and altering domu.cfg in >> _dom0_ .... > > Regards, > > Thomas > >Hi Thomas, I don''t understand a word you''re saying. What book are you talking about? IF this isn''t a debian kernel, then why did it even boot up? Where do I find the domu.cfg file? and how do I manually install a new kernel on the Debian domU ? -- Kind Regards Rudi Ahlers _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Feb-20 04:33 UTC
Re: [Xen-users] iptables & kernel problems on Debian domU
On Fri, Feb 20, 2009 at 11:25 AM, Rudi Ahlers <rudiahlers@gmail.com> wrote:>>> > /lib/modules/2.6.18-8.1.15.el5xen/modules.dep >>> ^^^^^^^^^^^^^^^^^^^^ >>> Something strange here >>> >>> This is not a Debian-Kernel!> IF this isn''t a debian kernel, then why did it even boot up? >Do you use Centos/RHEL on dom0? Did you copy /lib/modules/2.6.18-8.1.15.el5xen/ directory to your debian domU? If yes, that''s probably why your Debian can boot using that kernel.> Where do I find the domu.cfg file? >How did you create your domU? By using virt-install/virt-manager, or by creating a config file manually an put it on /etc/xen? domU''s config file usually (but not always) reside in /etc/xen. Sometimes it''s possible to not have a config file at all when domUs are managed in xend. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users