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-devel

Re: [Xen-devel] Problem booting Dom0

To: nayden <nayden@xxxxxxxxx>
Subject: Re: [Xen-devel] Problem booting Dom0
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 21 Oct 2004 20:57:45 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 21 Oct 2004 21:03:30 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Thu, 21 Oct 2004 13:46:54 MDT." <a2652a58041021124630f72c8d@xxxxxxxxxxxxxx>
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>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Do you have the output from a successful boot of native Linux?
What type of drive is /dev/sda? Is it SATA or real SCSI?
XenLinux sees no 3ware controller and your IDE discs are mounted as
hda,hdb,hdc.... 

 -- Keir


> Hi, 
> 
> 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-2.6.8.1-xen0 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: 
>  __  __            ____    ___     _          _
>  \ \/ /___ _ __   |___ \  / _ \   | |__   ___| |_ __ _
> 
>   \  // _ \ '_ \    __) || | | |__| '_ \ / _ \ __/ _` |
> 
>   /  \  __/ | | |  / __/ | |_| |__| |_) |  __/ || (_| |
> 
>  /_/\_\___|_| |_| |_____(_)___/   |_.__/ \___|\__\__,_|
> 
> 
>  http://www.cl.cam.ac.uk/netos/xen
>  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) OEM ID: IBM ENSW Product ID: TURQUIOSESMP APIC at: 0xFEE00000
> 
> (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) ENABLING IO-APIC IRQs
> (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) *** LOADING DOMAIN 0 ***
> (XEN) Xen-ELF header found: 
> 'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=2.0,VIRT_BASE=
> 
> 0xC0000000,LOADER=generic,PT_MODE_WRITABLE'
> (XEN) PHYSICAL MEMORY ARRANGEMENT:
> (XEN)  Kernel image:  02800000->02bbdf08
> (XEN)  Initrd image:  00000000->00000000
> (XEN)  Dom0 alloc.:   02c00000->0ac00000
> (XEN) VIRTUAL MEMORY ARRANGEMENT:
> (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 2.6.8.1-xen0 (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]
> 
>  TSOcap[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]
> 
>  TSOcap[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.
> 
> thanks, 
> nayden
> 
> 
> -------------------------------------------------------
> 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
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
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
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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