Bug 218926
Summary: | corrupted RPMs when installing full-virt guest | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Angus Thomas <athomas> | ||||
Component: | xen | Assignee: | Juan Quintela <quintela> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Martin Jenner <mjenner> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6 | CC: | herbert.xu, jmh, katzj, xen-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-02-26 23:47:43 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 219275, 224214 | ||||||
Attachments: |
|
Description
Angus Thomas
2006-12-08 15:08:09 UTC
I've got only a few ideas. We've had problems with interactions between Xen networking and IP checksum code in the past --- could you perhaps run with an httpd served from the local host to eliminate that possibility? What NIC are you using, too? Adding Herbert to CC, as this appears possibly to involve checksum problems over the network (to be verified.) Retried, having moved the http install tree to dom0. The guest install still aborts, with anaconda reporting md5sum errors in unpacking comps-3AS-0.20050921.i386 I've verified that the comps-3AS-0.20050921.i386 RPM under the DocumentRoot on dom0 is valid. Please disregard the reference above to comps.rpm under /mnt/sysimage/var/tmp. That is an uncorrupted copy of the comps.xml from under base/ on the install media and is unrelated to the comps-3AS-0.20050921.i386 RPM that is failing to install. The machine has two NICs. lspci describes them both as: 06:00.1 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01) Hmm, I'm not sure how a network checksum error can cause file size to change. The most likely result of a checksum error is the packet being dropped and the connection hung. What exactly is the size difference? Is it just truncation? If so is the non-truncated part identical to the original? In fact, there isn't a size difference. I was mistakenly assuming that the comps.rpm on local disk was a copy of the comps package that is failing to install. The two different sizes are actually different packages. Here's the real problem: The relevant error message is that /mnt/sysimage/root/install.log contains: <snip> Installing comps-3AS-0.20050921.i386. error: unpacking of archive failed on file /usr/share/comps/i386/hdlist2;4579147a: cpio: MD5 sum mismatch I've used "rpm -K" to verify that the version of the comps-3AS-0.20050921.i386 rpm that is being served by httpd running in dom0 isn't corrupt. Tried the same on a RHEL5 Beta 2 (2747) system (woodie) and run into the same problems with checksum errors if HTTP is used to install RHEL-3 (tried U6 and U7). Using NFS or FTP works fine. Also installing RHEL-4 via HTTP works fine , So it seems the problem is "isolated" to RHEL-3 install via HTTP .... If someone wants to login to the RHEL5 Beta 2 systems please contact me and I'll provide the details offline. OK, many thanks. Is woodie running the same (Intel 1G) NIC? Created attachment 143296 [details]
[XEN] Extend emulator to fully decode ModRM and SIB bytes.
Please also try with this patch. It's a hypervisor patch, so much faster to
test than anything against the kernel. This is from upstream changeset 12528,
backported to current CVS HEAD RHEL5 kernel-xen.
Yes our local system is using the same Ethernet 1Gb card [root@woodie ~]# lspci|grep Ethe 06:00.0 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01) 06:00.1 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01) Also have been doing some more testing with no major breakthrough . Tried various newer kernels but still keep getting corrupted RPMs I installed/booted the following kernels : Installation via Kernel Revision RHEL3/HTTP RHEL3/FTP RHEL4/HTTP RHEL5 Beta 2 (rev 2747) FAIL SUCCESS SUCCESS RHEL5 RC3 (rev 2839) FAIL SUCCESS SUCCESS RHEL5 RC2 (rev 2817) FAIL SUCCESS SUCCESS Initial results brought up hope RC3/2839 may indeed help but after 2 successful installations we still ended up with corrupted RPMs . I have not yet tested with the above patch as the nightly build had not completed on the 11th . Will try earlier kernels/HVs to see when/if it ever worked . Using a hypervisor which has the patch from Comment #8, I've been unable to reproduce the error after several attempts. Update on testing with RHEL5 B2 + HV patch from #8 . I have now installed 15 RHEL3 guests using HTTP without any problems. In the past we've never been able to get through more than 3 guest installs without hitting the corruption problem. Patch seems to work, reassigning for FC6 merge. The same behavior has returned. I'm running 32 bit kernel-xen-2.6.18-4.el5 on a 2.0GHz Intel Xeon 5130 Woodcrest Dual-Core, installing RHEL3 via HTTP into a full-virt guest. Same results as previoulsy: The install is terminating, complaining about an error installing glibc. /mnt/sysimage/root/install.log reports an MD5 sum error mismatch on a specific library from within the RPM. As previously, the RPM is not corrupted. I should have mentioned that the failure from Commment #13 is reproducable. By contrast, I've just used the same boot media & kickstart, against the same install tree, to successfuly create the RHEL3 guest on a woodcrest running the 64 bit kernel-xen-2.6.18-1.2910.el5. Unless the 64/32 bitness makes a comparison irrelevant, the issue may be a regression since 2.6.18-1.2910.el5. I'll retest with an older 32 bit kernel Moving back to an older kernel-xen RPM to check when a regression occured hasn't been successful. I've switched back to the 32 bit kernel-xen-2.6.18-1.3014.el5 RPM, but that fails to install in a totally different way: Hanging during kernel boot. With the latest 32 bit RHEL5 kernel-xen RPM (2.6.18-4.el5), I'm still able to reproduce the memory corruption during install. change QA contact This report targets FC6, which is now end-of-life. Please re-test against Fedora 7 or later, and if the issue persists, open a new bug. Thanks |