Hello, erveryone, I try to compile and start the Mini-OS wm which is in the xen-4.0.0 srouce code. I have setup a disk in the config file (e.g. disk = [ ''file:/root/tmp/mdisk,hda,r'' ] ). According to the README file, the Mini-OS should loop reading the "mdisk" file. However, when I start the vm, it quit and can not read the file. Is there some bug in the Mini-OS source code? Or I have a bad operation? Thanks. The output message of starting the Mini-OS: [root@localhost mini-os]# xm create domain_config -c Using config file "./domain_config". Started domain Mini-OS (id=14) Domain has already finished Could not start console The whole config file is: --------------------- kernel = "mini-os.gz" memory = 32 name = "Mini-OS" on_crash = ''destroy'' disk = [ ''file:/root/tmp/mdisk,hda,r'' ] --------------------- Thanks a lot. Gavin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Samuel Thibault
2010-Sep-10 22:46 UTC
Re: [Xen-devel] A question about Mini-OS config file
Bei Guan, le Fri 10 Sep 2010 16:35:35 +0800, a écrit :> [root@localhost mini-os]# xm create domain_config -c > Using config file "./domain_config". > Started domain Mini-OS (id=14) > Domain has already finished > Could not start consoleAlso check for messages in xm dmesg. Samuel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Samuel, thank you for your reply very much. But I also can not find the contents of the file /root/tmp/mdisk in the xm dmesg. Following is the whole output of xm dmesg: [root@localhost config]# xm dmesg __ __ _ _ ___ ___ \ \/ /___ _ __ | || | / _ \ / _ \ \ // _ \ ''_ \ | || |_| | | | | | | / \ __/ | | | |__ _| |_| | |_| | /_/\_\___|_| |_| |_|(_)___(_)___/ (XEN) Xen version 4.0.0 (root@tajen.edu.tw) (gcc 版本 4.1.2 20070925 (Red Hat 4.1.2-33)) Mon Jul 5 16:44:08 CST 2010 (XEN) Latest ChangeSet: unavailable (XEN) Command line: iommu=1 (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information: (XEN) Found 2 MBR signatures (XEN) Found 2 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 000000000009a800 (usable) (XEN) 00000000000f0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000cd9ffc00 (usable) (XEN) 00000000cd9ffc00 - 00000000cda53c00 (ACPI NVS) (XEN) 00000000cda53c00 - 00000000cda55c00 (ACPI data) (XEN) 00000000cda55c00 - 00000000d0000000 (reserved) (XEN) 00000000e0000000 - 00000000f0000000 (reserved) (XEN) 00000000fec00000 - 00000000fed00400 (reserved) (XEN) 00000000fed20000 - 00000000feda0000 (reserved) (XEN) 00000000fee00000 - 00000000fef00000 (reserved) (XEN) 00000000ffb00000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 0000000128000000 (usable) (XEN) System RAM: 3907MB (4001356kB) (XEN) ACPI: RSDP 000FEC00, 0024 (r2 DELL ) (XEN) ACPI: XSDT 000FC7CB, 009C (r1 DELL B10K 15 ASL 61) (XEN) ACPI: FACP 000FC8FB, 00F4 (r3 DELL B10K 15 ASL 61) (XEN) ACPI: DSDT FFE9CFF8, 54AD (r1 DELL dt_ex 1000 INTL 20050624) (XEN) ACPI: FACS CD9FFC00, 0040 (XEN) ACPI: SSDT FFEA25C4, 00AA (r1 DELL st_ex 1000 INTL 20050624) (XEN) ACPI: APIC 000FC9EF, 0092 (r1 DELL B10K 15 ASL 61) (XEN) ACPI: BOOT 000FCA81, 0028 (r1 DELL B10K 15 ASL 61) (XEN) ACPI: ASF! 000FCAA9, 0096 (r32 DELL B10K 15 ASL 61) (XEN) ACPI: MCFG 000FCB3F, 003E (r1 DELL B10K 15 ASL 61) (XEN) ACPI: HPET 000FCB7D, 0038 (r1 DELL B10K 15 ASL 61) (XEN) ACPI: TCPA 000FCDD9, 0032 (r1 DELL B10K 15 ASL 61) (XEN) ACPI: DMAR 000FCE0B, 0120 (r1 DELL B10K 15 ASL 61) (XEN) ACPI: SLIC 000FCBB5, 0176 (r1 DELL B10K 15 ASL 61) (XEN) ACPI: SSDT CD9FFC40, 01B7 (r1 DpgPmm Cpu0Ist 11 INTL 20050624) (XEN) ACPI: SSDT CDA00049, 01B7 (r1 DpgPmm Cpu1Ist 11 INTL 20050624) (XEN) ACPI: SSDT CDA00452, 01B7 (r1 DpgPmm Cpu2Ist 11 INTL 20050624) (XEN) ACPI: SSDT CDA0085B, 01B7 (r1 DpgPmm Cpu3Ist 11 INTL 20050624) (XEN) ACPI: SSDT CDA00C64, 0190 (r1 DpgPmm CpuPm 10 INTL 20050624) (XEN) Xen heap: 8MB (8852kB) (XEN) Domain heap initialised (XEN) Processor #0 7:7 APIC version 20 (XEN) Processor #1 7:7 APIC version 20 (XEN) Processor #2 7:7 APIC version 20 (XEN) Processor #3 7:7 APIC version 20 (XEN) IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23 (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 2660.096 MHz processor. (XEN) Initing memory sharing. (XEN) VMX: Supported advanced features: (XEN) - APIC MMIO access virtualisation (XEN) - APIC TPR shadow (XEN) - Virtual NMI (XEN) - MSR direct-access bitmap (XEN) HVM: ASIDs disabled. (XEN) HVM: VMX enabled (XEN) xsave_init: cpu0: cntxt_max_size: 0x240 and states: 00000000:00000003 (XEN) xsave_init: using cntxt_size: 0x240 and states: 00000000:00000003 (XEN) Intel VT-d Snoop Control not supported. (XEN) Intel VT-d DMA Passthrough not supported. (XEN) Intel VT-d Queued Invalidation not supported. (XEN) Intel VT-d Interrupt Remapping not supported. (XEN) I/O virtualisation enabled (XEN) I/O virtualisation for PV guests disabled (XEN) xsave_init: cpu1: cntxt_max_size: 0x240 and states: 00000000:00000003 (XEN) xsave_init: cpu2: cntxt_max_size: 0x240 and states: 00000000:00000003 (XEN) xsave_init: cpu3: cntxt_max_size: 0x240 and states: 00000000:00000003 (XEN) Total of 4 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) -> Using new ACK method (XEN) checking TSC synchronization across 4 CPUs: passed. (XEN) Platform timer is 14.318MHz HPET (XEN) Brought up 4 CPUs (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen kernel: 32-bit, PAE, lsb (XEN) Dom0 kernel: 32-bit, PAE, lsb, paddr 0xc0100000 -> 0xc04cd5bc (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 000000003c000000->000000003e000000 (951018 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0100000->c04cd5bc (XEN) Init. ramdisk: c04ce000->c0bcf400 (XEN) Phys-Mach map: c0bd0000->c0f78ba8 (XEN) Start info: c0f79000->c0f7947c (XEN) Page tables: c0f7a000->c0f89000 (XEN) Boot stack: c0f89000->c0f8a000 (XEN) TOTAL: c0000000->c1400000 (XEN) ENTRY ADDRESS: c0100000 (XEN) Dom0 has maximum 4 VCPUs (XEN) Scrubbing Free RAM: .done. (XEN) Xen trace buffers: disabled (XEN) Std. Loglevel: Errors and warnings (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) (XEN) Xen is relinquishing VGA console. (XEN) *** Serial input -> DOM0 (type ''CTRL-a'' three times to switch input to Xen) (XEN) Freed 132kB init memory. 2010/9/11 Samuel Thibault <samuel.thibault@ens-lyon.org>> Bei Guan, le Fri 10 Sep 2010 16:35:35 +0800, a écrit : > > [root@localhost mini-os]# xm create domain_config -c > > Using config file "./domain_config". > > Started domain Mini-OS (id=14) > > Domain has already finished > > Could not start console > > Also check for messages in xm dmesg. > > Samuel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel