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/
Home Products Support Community News


[Xen-devel] Problem booting Dom0

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Problem booting Dom0
From: nayden <nayden@xxxxxxxxx>
Date: Thu, 21 Oct 2004 13:46:54 -0600
Delivery-date: Thu, 21 Oct 2004 20:52:35 +0100
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=pnwunKmVx/BbKnEVmekounZj6uByU9PXV0tEDx01pWcbgpPO03g6/qjs7I+7p/8XVukWxx+oMyxv0NhWCs/Uk+dbuUS+NLDp6AnzSlpXK+HGxgLlK1RGVBOd0WGRj78pij5SP33IvbI3n6ClY5f03aPsGuQRjTwFKgvY2BPTlZ8=
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Reply-to: nayden <nayden@xxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx

Thanks to everyone involved in the Xen project.  I think it is great
and can't wait to get my hands dirty with it.  In the meantime, I
cannot boot Dom0 on an ibm x335 and I am not sure what the problem is.
Any insights are welcome.

Here is what my grub.conf file looks like: 
title Fedora Core (2.6.8-1.521)
        root (hd0,0)
        kernel /vmlinuz-2.6.8-1.521 ro root=/dev/sda9 rhgb
        initrd /initrd-2.6.8-1.521.img
title (2.6.8-1) Xen-Domain0
        kernel /xen.gz dom0_mem=131072 com1=115200,8n1
        module /vmlinuz- root=/dev/sda9 ro

And here are the entries to my /etc/fstab
/dev/sda9               /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
LABEL=/scratch          /scratch                ext3    defaults        1 2
none                    /sys                    sysfs   defaults        0 0
LABEL=/usr              /usr                    ext3    defaults        1 2
/dev/sda7               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,r
o 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0

It's worth to note that booting native Linux works fine. 

The serial console outputs the following on bootup: 
 __  __            ____    ___     _          _
 \ \/ /___ _ __   |___ \  / _ \   | |__   ___| |_ __ _

  \  // _ \ '_ \    __) || | | |__| '_ \ / _ \ __/ _` |

  /  \  __/ | | |  / __/ | |_| |__| |_) |  __/ || (_| |

 /_/\_\___|_| |_| |_____(_)___/   |_.__/ \___|\__\__,_|

 University of Cambridge Computer Laboratory

 Xen version 2.0-beta (root@) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7

)) Wed Oct 20 15:47:27 MDT 2004

(XEN) Initialised 1023MB memory (262123 pages) on a
(XEN) Xen heap size is 10780KB
(XEN) CPU0: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0

(XEN) CPU#0: Physical ID: 0, Logical ID: 0
(XEN) CPU caps: bfebfbff 00000000 00000000 00000000
(XEN) found SMP MP-table at 0009d540
(XEN) Memory Reservation 0x9d540, 4096 bytes
(XEN) Memory Reservation 0x9d8e0, 4096 bytes
(XEN) ACPI: RSDP (v000 IBM                                       ) @ 0x000fdfc0

(XEN) ACPI: RSDT (v001 IBM    SERONYXP 0x00001000 IBM  0x45444f43) @ 0x3ffeff80

(XEN) ACPI: FADT (v001 IBM    SERONYXP 0x00001000 IBM  0x45444f43) @ 0x3ffeff00

(XEN) ACPI: MADT (v001 IBM    SERONYXP 0x00001000 IBM  0x45444f43) @ 0x3ffefe80

(XEN) ACPI: ASF! (v016 IBM    SERONYXP 0x00000001 IBM  0x45444f43) @ 0x3ffefdc0

(XEN) ACPI: DSDT (v001 IBM    SERTURQU 0x00001000 MSFT 0x0100000b) @ 0x00000000

(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)

(XEN) Processor #0 Pentium 4(tm) XEON(tm) APIC version 20

(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_
(XEN) Processor #1 Pentium 4(tm) XEON(tm) APIC version 20

(XEN) ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])

(XEN) ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])

(XEN) Using ACPI for processor (LAPIC) configuration information

(XEN) Intel MultiProcessor Specification v1.4
(XEN)     Virtual Wire compatibility mode.

(XEN) I/O APIC #14 Version 17 at 0xFEC00000.
(XEN) I/O APIC #13 Version 17 at 0xFEC01000.
(XEN) I/O APIC #12 Version 17 at 0x
(XEN) Enabling APIC mode: Flat. Using 3 I/O APICs
(XEN) Processors: 2
(XEN) Using scheduler: Borrowed Virtual Time (bvt)
(XEN) Initializing CPU#0
(XEN) Detected 2392.334 MHz processor.
(XEN) CPU0: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0

(XEN) CPU#0: Physical ID: 0, Logical ID: 0
(XEN) CPU caps: bfebfbff 00000000 00000000 00000000
(XEN) CPU0 booted
(XEN) enabled ExtINT on CPU#0
(XEN) ESR value before enabling vector: 00000000
(XEN) ESR value after enabling vector: 00000000
(XEN) Booting processor 1/1 eip 90000
(XEN) Initializing CPU#1
(XEN) masked ExtINT on CPU#1
(XEN) ESR value before enabling vector: 00000000
(XEN) ESR value after enabling vector: 00000000
(XEN) CPU1: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0
(XEN) CPU#1: Physical ID: 0, Logical ID: 1
(XEN) CPU caps: bfebfbff 00000000 00000000 00000000
(XEN) CPU1 has booted.  
(XEN) Total of 2 processors activated.
(XEN) Setting 14 in the phys_id_present_map
(XEN) ...changing IO-APIC physical APIC ID to 14 ... ok.

(XEN) Setting 13 in the phys_id_present_map
(XEN) ...changing IO-APIC physical APIC ID to 13 ... ok.

(XEN) Setting 12 in the phys_id_present_map
(XEN) ...changing IO-APIC physical APIC ID to 12 ... ok.

(XEN) init IO_APIC IRQs 
(XEN) ..TIMER: vector=0x41 pin1=2 pin2=-1
(XEN) Using local APIC timer interrupts.
(XEN) Calibrating APIC timer for CPU0...
(XEN) ..... CPU speed is 2392.1847 MHz.
(XEN) ..... Bus speed is 99.6742 MHz.
(XEN) ..... bus_scale = 0x0000661
(XEN) checking TSC synchronization across CPUs: passed.

(XEN) Time init:
(XEN) .... System Time: 12936158ns
(XEN) .... cpu_freq:    00000000:8E981F50
(XEN) .... scale:       00000001:AC08AA5D
(XEN) .... Wall Clock:  1098363022s 160000us
(XEN) PCI: PCI BIOS revision 2.10 entry at 0xfd81c, last bus=2

(XEN) PCI: Using configuration type 1
(XEN) PCI: Probing PCI hardware
(XEN) PCI: Probing PCI hardware (bus 00)
(XEN) PCI: Ignoring BAR0-3 of IDE controller 00:0f.1
(XEN) PCI: Discovered peer bus 01
(XEN) PCI: Discovere    
(XEN) PCI->APIC IRQ transform: (B0,I1,P0) -> 26
(XEN) PCI->APIC IRQ transform: (B0,I15,P0) -> 11
(XEN) PCI->APIC IRQ transform: (B1,I1,P0) -> 22
(XEN) PCI->APIC IRQ transform: (B2,I1,P0) -> 24
(XEN) PCI->APIC IRQ transform: (B2,I2,P0) -> 25
(XEN) Xen-ELF header found: 'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=2.0,VIRT_BASE=

(XEN)  Kernel image:  02800000->02bbdf08
(XEN)  Initrd image:  00000000->00000000
(XEN)  Dom0 alloc.:   02c00000->0ac00000
(XEN)  Loaded kernel: c0100000->c04eeb44
(XEN)  Init. ramdisk: c04ef000->c04ef000
(XEN)  Phys-Mach map: c04ef000->c050f000
(XEN)  Page tables:   c050f000->c0512000
(XEN)  Start info:    c0512000->c0513000
(XEN)  Boot stack:    c0513000->c0514000
(XEN)  TOTAL:         c0000000->c0800000
(XEN)  ENTRY ADDRESS: c0100000
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen

Linux version (nayden@ibm-1-
 Linux 3.3.3-7)) #1 Wed Oct 20 15:18:40 MDT 2004
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000008000000 (usable)
128MB LOWMEM available. 
DMI not present.
Built 1 zonelists
Kernel command line: ro root=/dev/sda9
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Xen reported: 2392.334 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

Inode-cache hash table entries: 16384 (order: 4, 65536
Memory: 125320k/131072k available (2582k kernel code, 5564k reserved, 808k data,

 396k init, 0k highmem) 
Checking if this processor honours the WP bit even in supervisor mode... Ok.

Calibrating delay loop... 4771.02 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)

CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Intel(R) Xeon(TM) CPU 2.40GHz stepping 07
Enabling unmasked SIMD FPU exception support... done.

Checking 'hlt' instruction... disabled
NET: Registered protocol famil
PCI: Using configuration type Xen
SCSI subsystem initialized
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Probing PCI hardware (bus 01)
PCI: Probing PCI hardware (bus 02)
PCI: Probing PCI hardware
Initializing Cryptographic API
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

loop: loaded (max 8 devices)
Using anticipatory io scheduler
nbd: registered device at major 43
Intel(R) PRO/1000 Network Driver - version 5.2.52-k4
Copyright (c) 1999-2004 Intel Corporation.
pcnet32.c:v1.30i 06.28.2004 tsbogend@xxxxxxxxxxxxxxxx

e100: Intel(R) PRO/100 Network Driver, 3.0.18
e100: Copyright(c) 1999-2004 Intel Corporation
tg3.c:v3.8 (July 14, 2004)
PCI: Obtained IRQ 24 for device 0000:02:01.0
eth0: Tigon3 [partno(BCM95703A30) rev 1002 PHY(5703)] (PCIX:100MHz:64-bit) 10/10

0/1000BaseT Ethernet 00:09:6b:a3:01:7d
eth0: HostTXDS[1] RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1]

PCI: Obtained IRQ 25 for device 0000:02:02.0
eth1: Tigon3 [partno(BCM95703A30) rev 100
0/1000BaseT Ethernet 00:09:6b:a3:01:7e
eth1: HostTXDS[1] RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1]

Xen virtual console successfully installed as ttyS
Event-channel device installed.
Initialising Xen netif backend
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

SvrWks CSB5: IDE controller at PCI slot 0000:00:0f.1
SvrWks CSB5: chipset revision 147
SvrWks CSB5: not 100% native mode: will probe irqs l
    ide0: BM-DMA at 0x0700-0x0707, BIOS settings: hda:pio, hdb:pio

    ide1: BM-DMA at 0x0708-0x070f, BIOS settings: hdc:DMA, hdd:DMA

hdc: LG CD-ROM CRN-8245B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Red Hat/Adaptec aacraid driver (1.1.2-lk2 Oct 20 2004)

3ware Storage Controller device driver for Linux v1.26.00.039.

3w-xxxx: No cards found.
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port a 
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: automatically using best checksumming function: pIII_sse
   pIII_sse  :  1358.400 MB/sec
raid5: using function: pIII_sse (1358.400 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@xxxxxxxxxxxxxx
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "sda9" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(2,0)

I understand that the problem is most likely not Xen related, but I
already consulted the GRUB manual, did a google search and
experimented with passing different options to the module line but
unfortunately to no avail.


This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>