Ubuntu 8.04.1 & Debian Etch R2 in Stub Domains at Xen 3.3 CentOS 5.2 Dom0 (all 64-bit)

Debian Etch install took about 2 hr on the box with C2D E8400, 8 GB RAM built up on P5K Premium/WIFI board.
South Bridge ICH9R setup to AHCI mode with 2×250 SATA drives attached (Seagate Barracuda).
dom0_mem was set to 4GB in /boot/grub/grub.conf. Debian HVM allocated 2 GB memory , Ubuntu 8.04.1 HVM 2.5 -3 GB memory .
In case Ubuntu HH Desktop stub domain install it’s important to have enough memory on the box for Dom0 and DomU. Personally , i was unable to enter graphical installer on C2D box with 4 GB RAM and experienced problems on box with 8 GB RAM during installation procedure, not allocating enough memory for Ubuntu HH HVM. Video card was
in both cases GeForce 8500 GT. View referenced post for details, regarding hvm-stubdom and hvm-dm profiles.
Sequence of screen shots been done during Debian boot up provide some explanation of what was going on :-









I would call it Debian Etch versus (ioemu-stubdom.gz & stubdom-dm ) to perform booting up successfully.




Following bellow is fragment from Debian Etch R2 /var/log/syslog at startup:-

Oct 2 13:10:30 Debian4stub kernel: Probing IDE interface ide0…
Oct 2 13:10:30 Debian4stub kernel: 8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
Oct 2 13:10:30 Debian4stub kernel: hda: QEMU HARDDISK, ATA DISK drive
Oct 2 13:10:30 Debian4stub kernel: hdb: QEMU HARDDISK, ATA DISK drive
Oct 2 13:10:30 Debian4stub kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Oct 2 13:10:30 Debian4stub kernel: Probing IDE interface ide1…
Oct 2 13:10:30 Debian4stub kernel: GSI 16 sharing vector 0xA9 and IRQ 16
Oct 2 13:10:30 Debian4stub kernel: ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 32 (level, low) -> IRQ 169
Oct 2 13:10:30 Debian4stub kernel: eth0: RTL-8139C+ at 0xffffc20000002000, 00:16:3e:13:5e:9f, IRQ 169
Oct 2 13:10:30 Debian4stub kernel: PCI: Setting latency timer of device 0000:00:04.0 to 64
Oct 2 13:10:30 Debian4stub kernel: 8139too Fast Ethernet driver 0.9.27
Oct 2 13:10:30 Debian4stub kernel: hda: max request size: 512KiB
Oct 2 13:10:30 Debian4stub kernel: hda: 32146002 sectors (16458 MB) w/256KiB Cache, CHS=16383/255/63, (U)DMA
Oct 2 13:10:30 Debian4stub kernel: hda: cache flushes supported
Oct 2 13:10:30 Debian4stub kernel: hda: hda1 hda2
Oct 2 13:10:30 Debian4stub kernel: hda: irq timeout: status=0x80 { Busy }
Oct 2 13:10:30 Debian4stub kernel: ide: failed opcode was: 0xea
Oct 2 13:10:30 Debian4stub kernel: hdb: max request size: 512KiB
Oct 2 13:10:30 Debian4stub kernel: hdb: 2097152 sectors (1073 MB) w/256KiB Cache, CHS=2080/255/63, (U)DMA
Oct 2 13:10:30 Debian4stub kernel: hdb: cache flushes supported
Oct 2 13:10:30 Debian4stub kernel: hdb: unknown partition table
Oct 2 13:10:30 Debian4stub kernel: hda: status timeout: status=0x80 { Busy }
Oct 2 13:10:30 Debian4stub kernel: ide: failed opcode was: 0xea
Oct 2 13:10:30 Debian4stub kernel: hda: drive not ready for command
Oct 2 13:10:30 Debian4stub kernel: hda: status timeout: status=0x80 { Busy }
Oct 2 13:10:30 Debian4stub kernel: ide: failed opcode was: unknown
Oct 2 13:10:30 Debian4stub kernel: hda: DMA disabled
Oct 2 13:10:30 Debian4stub kernel: hdb: DMA disabled
Oct 2 13:10:30 Debian4stub kernel: hda: drive not ready for command
Oct 2 13:10:30 Debian4stub kernel: ide0: reset: success
Oct 2 13:10:30 Debian4stub kernel: hda: irq timeout: status=0x80 { Busy }
Oct 2 13:10:30 Debian4stub kernel: ide: failed opcode was: 0xea
Oct 2 13:10:30 Debian4stub kernel: hda: status timeout: status=0x80 { Busy }
Oct 2 13:10:30 Debian4stub kernel: ide: failed opcode was: unknown
Oct 2 13:10:30 Debian4stub kernel: hda: drive not ready for command
Oct 2 13:10:30 Debian4stub kernel: ide0: reset: success
Oct 2 13:10:30 Debian4stub kernel: hda: irq timeout: status=0x80 { Busy }
Oct 2 13:10:30 Debian4stub kernel: ide: failed opcode was: 0xea
Oct 2 13:10:30 Debian4stub kernel: hdb: max request size: 512KiB
Oct 2 13:10:30 Debian4stub kernel: hdb: 2097152 sectors (1073 MB) w/256KiB Cache, CHS=2080/255/63, (U)DMA
Oct 2 13:10:30 Debian4stub kernel: hdb: cache flushes supported
Oct 2 13:10:30 Debian4stub kernel: hdb: unknown partition table
Oct 2 13:10:30 Debian4stub kernel: hda: status timeout: status=0x80 { Busy }
Oct 2 13:10:30 Debian4stub kernel: ide: failed opcode was: 0xea
Oct 2 13:10:30 Debian4stub kernel: hda: drive not ready for command
Oct 2 13:10:30 Debian4stub kernel: hda: status timeout: status=0x80 { Busy }
Oct 2 13:10:30 Debian4stub kernel: ide: failed opcode was: unknown
Oct 2 13:10:30 Debian4stub kernel: hda: DMA disabled
Oct 2 13:10:30 Debian4stub kernel: hdb: DMA disabled
Oct 2 13:10:30 Debian4stub kernel: hda: drive not ready for command
Oct 2 13:10:30 Debian4stub kernel: ide0: reset: success
Oct 2 13:10:30 Debian4stub kernel: hda: irq timeout: status=0x80 { Busy }
Oct 2 13:10:30 Debian4stub kernel: ide: failed opcode was: 0xea
Oct 2 13:10:30 Debian4stub kernel: hda: status timeout: status=0x80 { Busy }
Oct 2 13:10:30 Debian4stub kernel: ide: failed opcode was: unknown
Oct 2 13:10:30 Debian4stub kernel: hda: drive not ready for command
Oct 2 13:10:30 Debian4stub kernel: ide0: reset: success
Oct 2 13:10:30 Debian4stub kernel: hda: irq timeout: status=0x80 { Busy }
Oct 2 13:10:30 Debian4stub kernel: ide: failed opcode was: 0xea
Oct 2 13:10:30 Debian4stub kernel: hda: status timeout: status=0x80 { Busy }
Oct 2 13:10:30 Debian4stub kernel: ide: failed opcode was: unknown
Oct 2 13:10:30 Debian4stub kernel: hda: drive not ready for command
Oct 2 13:10:30 Debian4stub kernel: ide0: reset: success
Oct 2 13:10:30 Debian4stub kernel: hda: irq timeout: status=0x80 { Busy }
Oct 2 13:10:30 Debian4stub kernel: ide: failed opcode was: 0xea
Oct 2 13:10:30 Debian4stub kernel: Attempting manual resume
Oct 2 13:10:30 Debian4stub kernel: hda: status timeout: status=0x80 { Busy }
Oct 2 13:10:30 Debian4stub kernel: ide: failed opcode was: unknown
Oct 2 13:10:30 Debian4stub kernel: hda: drive not ready for command
Oct 2 13:10:30 Debian4stub kernel: ide0: reset: success
Oct 2 13:10:30 Debian4stub kernel: kjournald starting. Commit interval 5 seconds
Oct 2 13:10:30 Debian4stub kernel: EXT3-fs: mounted filesystem with ordered data mode.

To perform Ubuntu 8.04.1 Desktop successful install in stub domain is important to allocate enough memory for
HVM (stub) DomU ( in my case 2.5 GB vs 2 GB allowed to avoid installer’s hang when “Configuring apt”).
Install itself went very fast and smoothly :-
Following bellow is fragment from Ubuntu HH HVM /var/log/syslog at startup:-

Oct 2 13:03:45 boris-desktop kernel: [ 11.961741] SCSI subsystem initialized
Oct 2 13:03:45 boris-desktop kernel: [ 11.983773] libata version 3.00 loaded.
Oct 2 13:03:45 boris-desktop kernel: [ 11.996431] 8139too Fast Ethernet driver 0.9.28
Oct 2 13:03:45 boris-desktop kernel: [ 11.996454] 8139too 0000:00:04.0: This (id 10ec:8139 rev 20) is an enhanced 8139C+ chip
Oct 2 13:03:45 boris-desktop kernel: [ 11.996455] 8139too 0000:00:04.0: Use the “8139cp” driver for improved performance and stability.
Oct 2 13:03:45 boris-desktop kernel: [ 11.996510] ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 32 (level, low) -> IRQ 32
Oct 2 13:03:45 boris-desktop kernel: [ 11.996535] PCI: Setting latency timer of device 0000:00:04.0 to 64
Oct 2 13:03:45 boris-desktop kernel: [ 11.996563] 8139too 0000:00:04.0: unknown chip version, assuming RTL-8139
Oct 2 13:03:45 boris-desktop kernel: [ 11.996569] 8139too 0000:00:04.0: TxConfig = 0x74800000
Oct 2 13:03:45 boris-desktop kernel: [ 11.999252] eth0: RealTek RTL8139 at 0xc100, 00:16:3e:15:33:69, IRQ 32
Oct 2 13:03:45 boris-desktop kernel: [ 11.999253] eth0: Identified 8139 chip type ‘RTL-8139’
Oct 2 13:03:45 boris-desktop kernel: [ 12.006137] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
Oct 2 13:03:45 boris-desktop kernel: [ 12.017664] ata_piix 0000:00:01.1: version 2.12
Oct 2 13:03:45 boris-desktop kernel: [ 12.017766] PCI: Setting latency timer of device 0000:00:01.1 to 64
Oct 2 13:03:45 boris-desktop kernel: [ 12.025055] scsi0 : ata_piix
Oct 2 13:03:45 boris-desktop kernel: [ 12.026624] scsi1 : ata_piix
Oct 2 13:03:45 boris-desktop kernel: [ 12.026648] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc200 irq 14
Oct 2 13:03:45 boris-desktop kernel: [ 12.026650] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc208 irq 15
Oct 2 13:03:45 boris-desktop kernel: [ 12.114263] FDC 0 is a S82078B
Oct 2 13:03:45 boris-desktop kernel: [ 12.181408] ata1.00: ATA-7: QEMU HARDDISK, 0.9.0, max UDMA/100
Oct 2 13:03:45 boris-desktop kernel: [ 12.181410] ata1.00: 32146002 sectors, multi 16: LBA48
Oct 2 13:03:45 boris-desktop kernel: [ 12.181928] ata1.00: configured for MWDMA2
Oct 2 13:03:45 boris-desktop kernel: [ 12.492367] ata2.00: ATAPI: QEMU CD-ROM, 0.9.0, max UDMA/100
Oct 2 13:03:45 boris-desktop kernel: [ 12.650453] ata2.00: configured for MWDMA2
Oct 2 13:03:45 boris-desktop kernel: [ 12.650530] scsi 0:0:0:0: Direct-Access ATA QEMU HARDDISK 0.9. PQ: 0 ANSI: 5
Oct 2 13:03:45 boris-desktop kernel: [ 12.650824] scsi 1:0:0:0: CD-ROM QEMU QEMU CD-ROM 0.9. PQ: 0 ANSI: 5
Oct 2 13:03:45 boris-desktop kernel: [ 12.863284] Driver ‘sd’ needs updating – please use bus_type methods
Oct 2 13:03:45 boris-desktop kernel: [ 12.863332] sd 0:0:0:0: [sda] 32146002 512-byte hardware sectors (16459 MB)
Oct 2 13:03:45 boris-desktop kernel: [ 12.863338] sd 0:0:0:0: [sda] Write Protect is off
Oct 2 13:03:45 boris-desktop kernel: [ 12.863339] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Oct 2 13:03:45 boris-desktop kernel: [ 12.863347] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn’t support DPO or FUA
Oct 2 13:03:45 boris-desktop kernel: [ 12.863371] sd 0:0:0:0: [sda] 32146002 512-byte hardware sectors (16459 MB)
Oct 2 13:03:45 boris-desktop kernel: [ 12.863376] sd 0:0:0:0: [sda] Write Protect is off
Oct 2 13:03:45 boris-desktop kernel: [ 12.863377] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Oct 2 13:03:45 boris-desktop kernel: [ 12.863385] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn’t support DPO or FUA
Oct 2 13:03:45 boris-desktop kernel: [ 12.863387] sda:Driver ‘sr’ needs updating – please use bus_type methods
Oct 2 13:03:45 boris-desktop kernel: [ 12.872210] sda1 sda2
Oct 2 13:03:45 boris-desktop kernel: [ 12.889848] sd 0:0:0:0: [sda] Attached SCSI disk
Oct 2 13:03:45 boris-desktop kernel: [ 12.893797] sr0: scsi3-mmc drive: 4x/4x xa/form2 tray
Oct 2 13:03:45 boris-desktop kernel: [ 12.893798] Uniform CD-ROM driver Revision: 3.20
Oct 2 13:03:45 boris-desktop kernel: [ 12.893822] sr 1:0:0:0: Attached scsi CD-ROM sr0
Oct 2 13:03:45 boris-desktop kernel: [ 12.895049] sd 0:0:0:0: Attached scsi generic sg0 type 0
Oct 2 13:03:45 boris-desktop kernel: [ 12.895058] sr 1:0:0:0: Attached scsi generic sg1 type 5
Oct 2 13:03:45 boris-desktop kernel: [ 13.163766] Attempting manual resume
Oct 2 13:03:45 boris-desktop kernel: [ 13.163767] swsusp: Resume From Partition 8:5
Oct 2 13:03:45 boris-desktop kernel: [ 13.163768] PM: Checking swsusp image.
Oct 2 13:03:45 boris-desktop kernel: [ 13.164350] PM: Resume from disk failed.
Oct 2 13:03:45 boris-desktop kernel: [ 13.198020] kjournald starting. Commit interval 5 seconds
Oct 2 13:03:45 boris-desktop kernel: [ 13.198025] EXT3-fs: mounted filesystem with ordered data mode.
Oct 2 13:03:45 boris-desktop kernel: [ 17.884682] Clocksource tsc unstable (delta = 110107846 ns)







References
http://lxer.com/module/newswire/view/109410/index.html.

One Response to Ubuntu 8.04.1 & Debian Etch R2 in Stub Domains at Xen 3.3 CentOS 5.2 Dom0 (all 64-bit)

  1. That is amazing and really well thought out.Usually I won’t make comments on the web, but I have to say that this blog really made me want to. Really superb piece of material

Leave a comment