Dear All, The majority of the machines we use are running some variant of RHEL 4.4. However I have two SuSE 9.3 virtual machines that were previously configured correctly for Xen 2.0.7 in loopback files. I''ve recently moved them to Xen 3.0.3 using LVMs but get errors such as: # /etc/init.d/sshd restart Shutting down SSH daemon done Starting SSH daemonmodprobe: FATAL: Could not load /lib/modules/2.6.16-xen3_86.1_rhel4.1/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.16-xen3_86.1_rhel4.1/modules.dep: No such file or directory This results at boot time in an error that forces the runlevel to change from 3 to 4 which is a standalone mode that will have no sshd or network turned on. If I use "xm console" and log onto the relevant hosts I can start sshd and network and get the machines working but with the nasty error messages above. Does anyone know of a patch to fix this, or do I have to have a vmlinuz specially built for SuSE 9.3? Currently my automatically loaded xenU /etc/xen/auto/suse9-vm contains: kernel = "/boot/vmlinuz-2.6.16-xen3_86.1_rhel4.1" I am surprised the RHEL4.1 RPM doesn''t work, because it works for CentOS 4.4 and RHEL 3.0.7. -- _________________ With Best regards, Eamonn Kenny Grid Jokes: Too much gin leads to gout. _________________________________________________________________________ Dr. Eamonn M. Kenny, Telephone: 00+353-1-8961536 Webcom-G Manager, Facsimile: 00+353-1-6772204 Computer Architecture Group, Email: Eamonn.Kenny@cs.tcd.ie Computer Science Department, www: http://www.cs.tcd.ie/Eamonn.Kenny Rm-005, CALab1, INS building, Map: http://www.tcd.ie/Maps/lloyd.html TCD, Dublin 2, Ireland. Map: http://www.tcd.ie/Maps/tcd_east.html _________________________________________________________________________ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel Bauer
2006-Dec-11 16:24 UTC
Re: [Xen-users] SuSE 9.3 XenU using the Xen 3 RHEL4.1 RPM
Hi, From: "Eamonn Kenny" <Eamonn.Kenny@cs.tcd.ie>> The majority of the machines we use are running some variant of RHEL > 4.4. > However I have two SuSE 9.3 virtual machines that were previously > configured > correctly for Xen 2.0.7 in loopback files. > > I''ve recently moved them to Xen 3.0.3 using LVMs but get errors such > as: > > # /etc/init.d/sshd restart > Shutting down SSH daemon > done > Starting SSH daemonmodprobe: FATAL: Could not load > /lib/modules/2.6.16-xen3_86.1_rhel4.1/modules.dep: No such file or > directory > > modprobe: FATAL: Could not load > /lib/modules/2.6.16-xen3_86.1_rhel4.1/modules.dep: No such file or > directoryyou have to copy the modules from your running kernel in your VM, f.e. cp -Rav /lib/modules/ /SuSE9.3/lib/modules/> This results at boot time in an error that forces the runlevel to > change from 3 to 4 which is a standalone mode that will have no sshd > or network turned on. If I use "xm console" and log onto the relevant > hosts I can start sshd and network and get the machines working but > with the nasty error messages above. Does anyone know of a patch to > fix this, or do I have to have a vmlinuz specially built for SuSE 9.3? > > Currently my automatically loaded xenU /etc/xen/auto/suse9-vm > contains: > > kernel = "/boot/vmlinuz-2.6.16-xen3_86.1_rhel4.1" > > I am surprised the RHEL4.1 RPM doesn''t work, because it works for > CentOS 4.4 and RHEL 3.0.7.HTH Daniel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ulrich Windl
2006-Dec-12 07:07 UTC
Re: [Xen-users] SuSE 9.3 XenU using the Xen 3 RHEL4.1 RPM
On 11 Dec 2006 at 15:39, Eamonn Kenny wrote:> Starting SSH daemonmodprobe: FATAL: Could not load > /lib/modules/2.6.16-xen3_86.1_rhel4.1/modules.dep: No such file or directory >Eamonn, I guess the file actually does not exist. I think there''s a "depmod" command totally unrelated to XEN... Have you ever tried "man -k modules.dep"?: depmod (8) - program to generate modules.dep and map files. modules.dep (5) - List of module dependencies Regards, Ulrich _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Eamonn Kenny
2006-Dec-12 09:07 UTC
Re: [Xen-users] SuSE 9.3 XenU using the Xen 3 RHEL4.1 RPM
Hi Ulrich, Thanks your suggestion gets rid of the annoying references to not being able to find the modules. However it still doesn''t allow the machine to come up in runlevel 3 which is what I want. There are also some errors at the start about not being about to create /dev/mapper/control, although it seems to exist already with the correct permissions. The errors look as follows: Activating device mapper... FATAL: Module dm_mod not found. device-mapper kernel module not loaded: can''t create /dev/mapper/control. failed showconsole: Warning: the ioctl TIOCGDEV is not known by the kernel I couldn''t find any easy solution. Ulrich Windl wrote:> On 11 Dec 2006 at 15:39, Eamonn Kenny wrote: > > >> Starting SSH daemonmodprobe: FATAL: Could not load >> /lib/modules/2.6.16-xen3_86.1_rhel4.1/modules.dep: No such file or directory >> >> > > Eamonn, > > I guess the file actually does not exist. I think there''s a "depmod" command > totally unrelated to XEN... > > Have you ever tried "man -k modules.dep"?: > depmod (8) - program to generate modules.dep and map files. > modules.dep (5) - List of module dependencies > > Regards, > Ulrich > > >-- _________________ With Best regards, Eamonn Kenny Grid Jokes: Too much gin leads to gout. _________________________________________________________________________ Dr. Eamonn M. Kenny, Telephone: 00+353-1-8961536 Webcom-G Manager, Facsimile: 00+353-1-6772204 Computer Architecture Group, Email: Eamonn.Kenny@cs.tcd.ie Computer Science Department, www: http://www.cs.tcd.ie/Eamonn.Kenny Rm-005, CALab1, INS building, Map: http://www.tcd.ie/Maps/lloyd.html TCD, Dublin 2, Ireland. Map: http://www.tcd.ie/Maps/tcd_east.html _________________________________________________________________________ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ulrich Windl
2006-Dec-12 13:03 UTC
Re: [Xen-users] SuSE 9.3 XenU using the Xen 3 RHEL4.1 RPM
On 12 Dec 2006 at 9:07, Eamonn Kenny wrote:> Hi Ulrich, > > Thanks your suggestion gets rid of the annoying references to not being > able to find the modules. However it still doesn''t allow the machine to > come up in runlevel 3 which is what I want. There are also some errors > at the start about not being about to create /dev/mapper/control, > although it seems to exist already with the correct permissions.That device file appears once the module is loaded. So either a sequencing problem, or a timing problem. Maybe add a sleep when the mapper is loaded. Part of my system''s startup says: Activating swap-devices in /etc/fstab... doneStarting udevd done Activating device mapper... done Loading required kernel modules doneStarting MD Raid done Waiting for udev to settle... Scanning for LVM volume groups... Reading all physical volumes. This may take a while... Found volume group "system" using metadata type lvm2 Activating LVM volume groups... 13 logical volume(s) in volume group "system" now active done> > The errors look as follows: > > Activating device mapper... > FATAL: Module dm_mod not found.That''s bad! In my SLES10 system I have: INITRD_MODULES="amd74xx mptsas processor thermal fan reiserfs dm_mod edd" See "dm_mod" is explicitly mentioned.> device-mapper kernel module not loaded: can''t create /dev/mapper/control. > failedAlso: lrwxrwxrwx 1 root root 16 Nov 23 09:58 /dev/mapper/control -> ../device-mapper crw-rw---- 1 root root 10, 63 Nov 23 09:58 /dev/device-mapper> showconsole: Warning: the ioctl TIOCGDEV is not known by the kernel > > I couldn''t find any easy solution.Dig and you will find something ;-) Regards, Ulrich _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users