WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 881] New: Disk/FS corruption

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=881

           Summary: Disk/FS corruption
           Product: Xen
           Version: unstable
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HVM
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: xen703@xxxxxxxxxxxxxxxxxxx


I just expirienced FS corruption on a OpenBSD HVM. It ripped the MBR appart.
And I was not fideling with the DiskLayout at all.

output of xm dmesg:
(XEN) (GUEST: 61) HVM Loader
(XEN) (GUEST: 61) Detected Xen v3.0.3-0
(XEN) (GUEST: 61) Writing SMBIOS tables ...
(XEN) (GUEST: 61) Loading ROMBIOS ...
(XEN) (GUEST: 61) Loading Cirrus VGABIOS ...
(XEN) (GUEST: 61) Loading VMXAssist ...
(XEN) (GUEST: 61) VMX go ...
(XEN) (GUEST: 61) VMXAssist (Oct 19 2006)
(XEN) (GUEST: 61) Memory size 32 MB
(XEN) (GUEST: 61) E820 map:
(XEN) (GUEST: 61) 0000000000000000 - 000000000009F000 (RAM)
(XEN) (GUEST: 61) 000000000009F000 - 00000000000A0000 (Reserved)
(XEN) (GUEST: 61) 00000000000A0000 - 00000000000C0000 (Type 16)
(XEN) (GUEST: 61) 00000000000F0000 - 0000000000100000 (Reserved)
(XEN) (GUEST: 61) 0000000000100000 - 0000000001FF0000 (RAM)
(XEN) (GUEST: 61) 0000000001FF0000 - 0000000001FFA000 (ACPI Data)
(XEN) (GUEST: 61) 0000000001FFA000 - 0000000001FFD000 (ACPI NVS)
(XEN) (GUEST: 61) 0000000001FFD000 - 0000000001FFE000 (Type 19)
(XEN) (GUEST: 61) 0000000001FFE000 - 0000000001FFF000 (Type 18)
(XEN) (GUEST: 61) 0000000001FFF000 - 0000000002000000 (Type 17)
(XEN) (GUEST: 61) 00000000FEC00000 - 0000000100000000 (Type 16)
(XEN) (GUEST: 61) 
(XEN) (GUEST: 61) Start BIOS ...
(XEN) (GUEST: 61) Starting emulated 16-bit real-mode: ip=F000:FFF0
(XEN) (GUEST: 61)  rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $
(XEN) (GUEST: 61) Remapping master: ICW2 0x8 -> 0x20
(XEN) (GUEST: 61) Remapping slave: ICW2 0x70 -> 0x28
(XEN) (GUEST: 61) VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50 vruppert
Exp $
(XEN) (GUEST: 61) HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07
15:55:26 $
(XEN) (GUEST: 61) 
(XEN) (GUEST: 61) ata0-0: PCHS=2080/16/63 translation=lba LCHS=1024/32/63
(XEN) (GUEST: 61) ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (1024 MBytes)
(XEN) (GUEST: 61) ata0  slave: Unknown device
(XEN) (GUEST: 61) 
(XEN) (GUEST: 61) Boot from Hard Disk 0 failed
(XEN) (GUEST: 61) FATAL: Not a bootable disk
(XEN) (GUEST: 61) Unknown opcode at F000:09DF=0xF09DF
(XEN) (GUEST: 61) Halt called from %eip 0xD3F2A

the sympthom is also, that this HVM consumed at lot of CPU from the Hardware
(84%) - though it was basically just hanging at this stage at the bios.

The broken MBR:
root@unity:/srv/xen/vmx/4I/raven# hexdump -n 1024 -vC wd0-openbsd_4.0.img
00000000  f8 41 02 00 00 00 00 00  00 02 00 00 00 00 00 00  |.A..............|
00000010  ef ed c5 45 00 00 00 00  f2 ed c5 45 00 87 93 03  |...E.......E....|
00000020  f2 ed c5 45 00 87 93 03  e8 e4 03 00 00 00 00 00  |...E............|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 00 00 00  04 00 00 00 17 56 1e 6e  |.............V.n|
00000070  19 00 00 00 19 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  6d 41 05 00 00 00 00 00  00 02 00 00 00 00 00 00  |mA..............|
00000090  c1 37 c5 45 00 00 00 00  c4 19 93 45 00 00 00 00  |.7.E.......E....|
000000a0  7c 98 97 45 00 16 d6 36  d3 d6 03 00 00 00 00 00  ||..E...6........|
000000b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000e0  00 00 00 00 00 00 00 00  04 00 00 00 7d c4 79 09  |............}.y.|
000000f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000100  49 41 02 00 00 00 00 00  00 02 00 00 00 00 00 00  |IA..............|
00000110  c1 37 c5 45 00 00 00 00  c4 19 93 45 00 00 00 00  |.7.E.......E....|
00000120  7c 98 97 45 00 16 d6 36  d4 d6 03 00 00 00 00 00  ||..E...6........|
00000130  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000160  00 00 00 00 00 00 00 00  04 00 00 00 5f f2 1f 25  |............_..%|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000180  49 41 02 00 00 00 00 00  00 02 00 00 00 00 00 00  |IA..............|
00000190  c1 37 c5 45 00 00 00 00  c4 19 93 45 00 00 00 00  |.7.E.......E....|
000001a0  7c 98 97 45 00 16 d6 36  d5 d6 03 00 00 00 00 00  ||..E...6........|
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001e0  00 00 00 00 00 00 00 00  04 00 00 00 23 e2 a6 ce  |............#...|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000200  49 40 02 00 00 00 00 00  00 02 00 00 00 00 00 00  |I@..............|
00000210  a1 37 c5 45 00 00 00 00  c4 19 93 45 00 00 00 00  |.7.E.......E....|
00000220  7c 98 97 45 00 16 d6 36  d6 d6 03 00 00 00 00 00  ||..E...6........|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000250  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  04 00 00 00 e1 5b 1c c8  |.............[..|
00000270  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  fd 43 02 00 00 00 00 00  00 02 00 00 00 00 00 00  |.C..............|
00000290  a2 37 c5 45 80 93 dc 14  c4 19 93 45 00 00 00 00  |.7.E.......E....|
000002a0  7c 98 97 45 00 16 d6 36  d7 d6 03 00 00 00 00 00  ||..E...6........|
000002b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002e0  00 00 00 00 00 00 00 00  04 00 00 00 a5 ac 31 7e  |..............1~|
000002f0  42 00 00 00 75 00 00 00  00 00 00 00 00 00 00 00  |B...u...........|
00000300  c0 41 02 00 00 00 00 00  00 2e 00 00 00 00 00 00  |.A..............|
00000310  37 bf c5 45 00 00 00 00  e8 bb c5 45 80 36 be 26  |7..E.......E.6.&|
00000320  e8 bb c5 45 80 36 be 26  58 e6 03 00 00 00 00 00  |...E.6.&X.......|
00000330  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000340  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000350  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000360  00 00 00 00 00 00 00 00  18 00 00 00 03 e6 88 68  |...............h|
00000370  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000380  fd 41 02 00 00 00 00 00  00 02 00 00 00 00 00 00  |.A..............|
00000390  a2 37 c5 45 00 00 00 00  c4 19 93 45 00 00 00 00  |.7.E.......E....|
000003a0  7c 98 97 45 00 16 d6 36  d9 d6 03 00 00 00 00 00  ||..E...6........|
000003b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000003c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000003d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000003e0  00 00 00 00 00 00 00 00  04 00 00 00 81 2a 03 91  |.............*..|
000003f0  00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00  |................|

As reference, a working MBR
00000000  ea 05 00 c0 07 8c c8 8e  d0 bc fc ff 8e d8 b8 a0  |................|
00000010  07 8e c0 31 f6 31 ff b9  00 02 fc f3 a4 ea 22 00  |...1.1........".|
00000020  a0 07 1e 07 0e 1f b4 02  cd 16 a8 03 74 0a b0 07  |............t...|
00000030  e8 cb 00 80 0e b4 01 01  f6 c2 80 75 08 be 36 01  |...........u..6.|
00000040  e8 af 00 b2 80 be be 01  b9 04 00 8a 04 3c 80 74  |.............<.t|
00000050  0f 83 c6 10 e2 f5 be 6a  01 e8 96 00 fb f4 eb fc  |.......j........|
00000060  88 d0 24 0f 04 30 a2 27  01 b0 34 28 c8 a2 34 01  |..$..0.'..4(..4.|
00000070  56 be 1a 01 f6 06 b4 01  01 75 01 46 e8 73 00 5e  |V........u.F.s.^|
00000080  26 c7 06 fe 01 00 00 f6  06 b4 01 01 75 31 88 14  |&...........u1..|
00000090  bb aa 55 b4 41 cd 13 8a  14 72 24 81 fb 55 aa 75  |..U.A....r$..U.u|
000000a0  1e f6 c1 01 74 19 b0 2e  e8 53 00 66 8b 4c 08 66  |....t....S.f.L.f|
000000b0  89 0e 12 01 56 b4 42 be  0a 01 cd 13 5e 73 19 b0  |....V.B.....^s..|
000000c0  3b e8 3a 00 8a 74 01 8b  4c 02 b8 01 02 31 db cd  |;.:..t..L....1..|
000000d0  13 73 05 be 52 01 eb 81  be 7d 01 e8 14 00 26 81  |.s..R....}....&.|
000000e0  3e fe 01 55 aa 75 05 ea  00 7c 00 00 be 61 01 e9  |>..U.u...|...a..|
000000f0  67 ff 50 fc ac 84 c0 74  0f e8 02 00 eb f6 50 53  |g.P....t......PS|
00000100  b4 0e bb 01 00 cd 10 5b  58 c3 10 00 01 00 00 00  |.......[X.......|
00000110  c0 07 00 00 00 00 00 00  00 00 21 55 73 69 6e 67  |..........!Using|
00000120  20 64 72 69 76 65 20 58  2c 20 70 61 72 74 69 74  | drive X, partit|
00000130  69 6f 6e 20 59 00 4d 42  52 20 6f 6e 20 66 6c 6f  |ion Y.MBR on flo|
00000140  70 70 79 20 6f 72 20 6f  6c 64 20 42 49 4f 53 0d  |ppy or old BIOS.|
00000150  0a 00 0d 0a 52 65 61 64  20 65 72 72 6f 72 0d 0a  |....Read error..|
00000160  00 4e 6f 20 4f 2f 53 0d  0a 00 4e 6f 20 61 63 74  |.No O/S...No act|
00000170  69 76 65 20 70 61 72 74  69 74 69 6f 6e 0d 0a 00  |ive partition...|
00000180  90 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000190  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001b0  00 00 00 00 00 00 4f 78  00 00 00 00 00 00 00 00  |......Ox........|
000001c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 80 01  |................|
000001f0  01 00 a6 1f ff ff 3f 00  00 00 c1 fd 1f 00 55 aa  |......?.......U.|
00000200  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000210  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000220  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000250  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000290  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000300  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000310  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000320  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000330  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000340  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000350  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000360  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000370  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000380  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000390  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000003a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000003b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000003c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000003d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000003e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000003f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

The broken MBR has some kind of pattern - but as of now, I'm not able to tell
what it tells.


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 881] New: Disk/FS corruption, bugzilla-daemon <=