Hello, all. I know the real answer is to throw out the old systems :) but we have some old systems still running on Xen 2.0.7 with Fedora Core 3. We have a need to upgrade some of these. Xen was installed from source as we did need to customize the kernel. How does one do this? In fact, how does one upgrade domUs in general? In our test lab, I attempted to upgrade an FC3 domU to FC4 via yum. The upgrade eventually succeeded but the domU now crashes on boot with these nasty messages: set_thread_area failed when setting up thread-local storage /etc/rc.d/rc.sysinit: line 323: 67 Done echo "raidautorun /dev/md0" 68 Segmentation fault | nash --quiet set_thread_area failed when setting up thread-local storage /etc/rc.d/rc.sysinit: line 340: 71 Done echo "mkdmnod" 72 Segmentation fault | /sbin/nash --quiet >/dev/null 2>&1 set_thread_area failed when setting up thread-local storage /etc/rc.d/rc.sysinit: line 340: 73 Segmentation fault /sbin/lvm.static vgscan --mknodes --ignorelockingfailure>/dev/null 2>&1Checking filesystems Checking all file systems. [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/sda1 set_thread_area failed when setting up thread-local storage Warning... fsck.ext3 for device /dev/sda1 exited with signal 11. [FAILED] I''m also guessing that I''ll have problems with udev once I move to FC5. Any pointers to howto''s, wikis, papers would be greatly appreciated. Thanks - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan@opensourcedevel.com If you would like to participate in the development of an open source enterprise class network security management system, please visit http://iscs.sourceforge.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Hello, all. I know the real answer is to throw out the old systems :) > but we have some old systems still running on Xen 2.0.7 with Fedora Core > 3. We have a need to upgrade some of these. Xen was installed from > source as we did need to customize the kernel. > > How does one do this? In fact, how does one upgrade domUs in general? > > In our test lab, I attempted to upgrade an FC3 domU to FC4 via yum. The > upgrade eventually succeeded but the domU now crashes on boot with these > nasty messages:Fedora generally recommend against upgrading directly using Yum. Do you have the domUs installed on separate partitions? If so, you could boot the entire box using the FC4 installer CD and tell it to upgrade each domU to FC4. Rebooting into Anaconda is the recommended way, AFAIK.> set_thread_area failed when setting up thread-local storage > /etc/rc.d/rc.sysinit: line 323: 67 Done echo > "raidautorun /dev/md0" > 68 Segmentation fault | nash --quiet > set_thread_area failed when setting up thread-local storageI guess you''ve moved /lib/tls out of the way on these systems, right? Maybe that confused yum or something, and so the upgrade got botched, resulting in getting these messages... ? Maybe you could move it back ;-) I''m not sure if it''d work, though. I guess you could also try to force yum to install the relevant libraries again, or something like that? I don''t understand TLS very well, so I''m afraid I don''t have any more specific suggestions. I guess you probably won''t like me saying this ;-) but I suppose it''s not possible for you to migrate your apps to an up-to-date version of Fedora rather than upgrading an existing install? Cheers, Mark> /etc/rc.d/rc.sysinit: line 340: 71 Done echo > "mkdmnod" > 72 Segmentation fault | /sbin/nash --quiet >/dev/null 2>&1 > set_thread_area failed when setting up thread-local storage > /etc/rc.d/rc.sysinit: line 340: 73 Segmentation > fault /sbin/lvm.static vgscan --mknodes --ignorelockingfailure > > >/dev/null 2>&1 > > Checking filesystems > Checking all file systems. > [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/sda1 > set_thread_area failed when setting up thread-local storage > Warning... fsck.ext3 for device /dev/sda1 exited with signal 11. > [FAILED] > > I''m also guessing that I''ll have problems with udev once I move to FC5. > > Any pointers to howto''s, wikis, papers would be greatly appreciated. > Thanks - John-- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John A. Sullivan III wrote:> Hello, all. I know the real answer is to throw out the old systems :) > but we have some old systems still running on Xen 2.0.7 with Fedora Core > 3. We have a need to upgrade some of these. Xen was installed from > source as we did need to customize the kernel. > > How does one do this? In fact, how does one upgrade domUs in general? > >As Mark mentioned, Fedora generally recommend against upgrading directly using yum. Having said that, I upgraded (using yum) FC2 -> RHEL4 and RHEL4 -> RHEL5 Xen dom-U, Xen 2, custom kernel, no initrd. In general, however, I''d say don''t bother. Unless you''re familiar enough with the way Xen and RHEL/Fedora boots (as in understand what each line in initrd and rc.sysinit does), the "custom kernel" part is a no-go. The "no initrd" part means I need to hack rc.sysinit to do some stuff that would normally be done in intrd, like mounting tmpfs for /dev, and creating some device nodes manually (/dev/sda1, /dev/sda2, etc.). Afterwards, I excluded initscripts on yum.conf to make sure my modifications doesn''t get overwritten by new packages. And then there''s also kernel compatibility problem : some RHEL5 packages (e.g. hald) doesn''t work with Xen 2''s kernel 2.6.10 (the domU kernel, located on dom0). In Xen3 and RHEL5, however, it should be much easier. The default setup is that each domU boots its own kernel and initrd (not dom0''s), so upgrading each domU (e.g. RHEL5 -> FC7, if you feel like it) would be the same as upgrading a physical box.> In our test lab, I attempted to upgrade an FC3 domU to FC4 via yum. The > upgrade eventually succeeded but the domU now crashes on boot with these > nasty messages: > >/lib/tls or initrd problem? Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson wrote:>> Hello, all. I know the real answer is to throw out the old systems :) >> but we have some old systems still running on Xen 2.0.7 with Fedora Core >> 3. We have a need to upgrade some of these. Xen was installed from >> source as we did need to customize the kernel. >> >> How does one do this? In fact, how does one upgrade domUs in general? >> >> In our test lab, I attempted to upgrade an FC3 domU to FC4 via yum. The >> upgrade eventually succeeded but the domU now crashes on boot with these >> nasty messages: >> > > Fedora generally recommend against upgrading directly using Yum. Do you have > the domUs installed on separate partitions? If so, you could boot the entire > box using the FC4 installer CD and tell it to upgrade each domU to FC4. > Rebooting into Anaconda is the recommended way, AFAIK. >Or copy the FC3 to a separate location, and do the upgrades in a chroot there for testing? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
why you donĀ“t go to fedora 7 ? fc4 is too old -------------------- Itamar Reis Peixoto e-mail/msn: itamar@ispbrasil.com.br skype: itamarjp icq: 81053601 +55 34 3238 3845 +55 11 4063 5033 ----- Original Message ----- From: "Nico Kadel-Garcia" <nkadel@gmail.com> To: "Mark Williamson" <mark.williamson@cl.cam.ac.uk> Cc: "John A. Sullivan III" <jsullivan@opensourcedevel.com>; <xen-users@lists.xensource.com> Sent: Tuesday, July 31, 2007 3:52 AM Subject: Re: [Xen-users] Upgrading fedora domUs> Mark Williamson wrote: >>> Hello, all. I know the real answer is to throw out the old systems :) >>> but we have some old systems still running on Xen 2.0.7 with Fedora Core >>> 3. We have a need to upgrade some of these. Xen was installed from >>> source as we did need to customize the kernel. >>> >>> How does one do this? In fact, how does one upgrade domUs in general? >>> >>> In our test lab, I attempted to upgrade an FC3 domU to FC4 via yum. The >>> upgrade eventually succeeded but the domU now crashes on boot with these >>> nasty messages: >>> >> >> Fedora generally recommend against upgrading directly using Yum. Do you >> have the domUs installed on separate partitions? If so, you could boot >> the entire box using the FC4 installer CD and tell it to upgrade each >> domU to FC4. Rebooting into Anaconda is the recommended way, AFAIK. >> > Or copy the FC3 to a separate location, and do the upgrades in a chroot > there for testing? > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users