Saravana Kumar K, Bangalore
2008-Jun-13 11:53 UTC
[Xen-users] Xen shows single processor on a dual core system
Hi all, On dual core processor machine, I installed ubuntu-8.04 in which I installed xen-3.2. In ubuntu: # cat /proc/cpuinfo --> Shows two processors information. But in Xen on the same machine: # cat /proc/cpuinfo --> Shows only one processor information. Can anyone please explain what could be the reason behind this? Thanks Saravana DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2008-Jun-13 18:28 UTC
Re: [Xen-users] Xen shows single processor on a dual core system
On Fri, Jun 13, 2008 at 7:53 AM, Saravana Kumar K, Bangalore < SaravanaKumar.k@hcl.in> wrote:> Hi all, > > > > On dual core processor machine, I installed ubuntu-8.04 in which I > installed xen-3.2. > > In ubuntu: > > # cat /proc/cpuinfo à Shows two processors information. > > > > But in Xen on the same machine: > > # cat /proc/cpuinfo à Shows only one processor information. > > > > Can anyone please explain what could be the reason behind this? >I don''t think I would expect this to be the case. Just to clarify you have a dual-core, single processor system (two cores on a single chip) right? How did you install Xen 3.2 on ubuntu, which kernel are you using? Is one of your kernels SMP on the other not SMP? Cheers, Todd _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2008-Jun-13 22:36 UTC
Re: [Xen-users] Xen shows single processor on a dual core system
And, just to clarify, we are talking about your dom0, correct, and not a domU (guest) you've installed? -Nick>>> On 2008/06/13 at 12:28, "Todd Deshane" <deshantm@gmail.com> wrote:On Fri, Jun 13, 2008 at 7:53 AM, Saravana Kumar K, Bangalore <SaravanaKumar.k@hcl.in> wrote: Hi all, On dual core processor machine, I installed ubuntu-8.04 in which I installed xen-3.2. In ubuntu: # cat /proc/cpuinfo àShows two processors information. But in Xen on the same machine: # cat /proc/cpuinfo àShows only one processor information. Can anyone please explain what could be the reason behind this? I don't think I would expect this to be the case. Just to clarify you have a dual-core, single processor system (two cores on a single chip) right? How did you install Xen 3.2 on ubuntu, which kernel are you using? Is one of your kernels SMP on the other not SMP? Cheers, Todd This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2008-Jun-13 22:53 UTC
Re: [Xen-users] Xen shows single processor on a dual core system
Also, try running "xm info" on your dom0 - one of the lines should be "nr_cpus" which should tell you how many CPUs the Xen hypervisor is seeing. -nick>>> On 2008/06/13 at 12:28, "Todd Deshane" <deshantm@gmail.com> wrote:On Fri, Jun 13, 2008 at 7:53 AM, Saravana Kumar K, Bangalore <SaravanaKumar.k@hcl.in> wrote: Hi all, On dual core processor machine, I installed ubuntu-8.04 in which I installed xen-3.2. In ubuntu: # cat /proc/cpuinfo àShows two processors information. But in Xen on the same machine: # cat /proc/cpuinfo àShows only one processor information. Can anyone please explain what could be the reason behind this? I don't think I would expect this to be the case. Just to clarify you have a dual-core, single processor system (two cores on a single chip) right? How did you install Xen 3.2 on ubuntu, which kernel are you using? Is one of your kernels SMP on the other not SMP? Cheers, Todd This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2008-Jun-16 14:33 UTC
[Xen-users] Re: Xen shows single processor on a dual core system
Hi Saravana, You should keep this information on the list so that others can help too. Cheers, Todd On Mon, Jun 16, 2008 at 5:12 AM, Saravana Kumar K, Bangalore < SaravanaKumar.k@hcl.in> wrote:> Hello Todd, > > > > Query which I asked > > On dual core processor machine, I installed ubuntu-8.04 in which I > installed xen-3.2. > > In ubuntu: > > # cat /proc/cpuinfo à Shows two processors information. > > But in Xen on the same machine: > > # cat /proc/cpuinfo à Shows only one processor information. > > *Please find my answers inline* > > > > Just to clarify you have a dual-core, single processor system (two cores on > a single chip) right? > > *Yes, it has two cores on a single chip.* > > > How did you install Xen 3.2 on ubuntu, which kernel are you using? > > > > *Build from source.* > > *Kernel version is: 2.6.18.8-xen* > > > Is one of your kernels SMP on the other not SMP? > > *I am sorry, I did not get you here* > > Please find uname –a (Xen) output: > > Linux luser-desktop 2.6.18.8-xen #1 SMP Mon Jun 9 18:22:20 IST 2008 i686 > GNU/Linux > > * > Cat /proc/cpuinfo **à** In ubuntu* > > processor : 0 > > vendor_id : GenuineIntel > > cpu family : 6 > > model : 15 > > model name : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz > > stepping : 11 > > cpu MHz : 1998.000 > > cache size : 4096 KB > > physical id : 0 > > siblings : 2 > > core id : 0 > > cpu cores : 2 > > fdiv_bug : no > > hlt_bug : no > > f00f_bug : no > > coma_bug : no > > fpu : yes > > fpu_exception : yes > > cpuid level : 10 > > wp : yes > > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm > constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3 > cx16 xtpr lahf_lm > > bogomips : 5336.77 > > clflush size : 64 > > > > processor : 1 > > vendor_id : GenuineIntel > > cpu family : 6 > > model : 15 > > model name : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz > > stepping : 11 > > cpu MHz : 1998.000 > > cache size : 4096 KB > > physical id : 0 > > siblings : 2 > > core id : 1 > > cpu cores : 2 > > fdiv_bug : no > > hlt_bug : no > > f00f_bug : no > > coma_bug : no > > fpu : yes > > fpu_exception : yes > > cpuid level : 10 > > wp : yes > > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm > constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3 > cx16 xtpr lahf_lm > > bogomips : 5333.09 > > clflush size : 64 > > > > > > *cat /proc/cpuinfo **à** In Xen* > > * * > > processor : 0 > > vendor_id : GenuineIntel > > cpu family : 6 > > model : 15 > > model name : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz > > stepping : 11 > > cpu MHz : 2666.418 > > cache size : 4096 KB > > fdiv_bug : no > > hlt_bug : no > > f00f_bug : no > > coma_bug : no > > fpu : yes > > fpu_exception : yes > > cpuid level : 10 > > wp : yes > > flags : fpu de tsc msr pae cx8 apic mtrr cmov pat clflush acpi > mmx fxsr sse sse2 ss ht constant_tsc up pni > > bogomips : 5423.10 > > * * > > * * > > *Thanks* > > *Saravana* > > * * > DISCLAIMER: > > ----------------------------------------------------------------------------------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its > affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect > the opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this e-mail > is strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. Before opening any mail and > attachments please check them for viruses and defect. > > > ----------------------------------------------------------------------------------------------------------------------- >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Saravana Kumar K, Bangalore
2008-Jun-17 08:57 UTC
[Xen-users] Xen shows single processor on a dual core system
Hi all, On dual core processor machine, I installed ubuntu-8.04 in which I installed xen-3.2. In ubuntu: # cat /proc/cpuinfo --> Shows two processors information. But in Xen on the same machine: # cat /proc/cpuinfo --> Shows only one processor information. Can anyone please explain what could be the reason behind this? I have a dual-core, single processor system (two cores on a single chip). Xen-3.2 build from source. Kernel version is: 2.6.18.8-xen Please find the /proc/cpuinfo for ubuntu and xen Cat /proc/cpuinfo --> In ubuntu processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz stepping : 11 cpu MHz : 1998.000 cache size : 4096 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr lahf_lm bogomips : 5336.77 clflush size : 64 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz stepping : 11 cpu MHz : 1998.000 cache size : 4096 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr lahf_lm bogomips : 5333.09 clflush size : 64 cat /proc/cpuinfo --> In Xen processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz stepping : 11 cpu MHz : 2666.418 cache size : 4096 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu de tsc msr pae cx8 apic mtrr cmov pat clflush acpi mmx fxsr sse sse2 ss ht constant_tsc up pni bogomips : 5423.10 Thanks Saravana DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rafał Kupka
2008-Jun-17 09:45 UTC
Re: [Xen-users] Xen shows single processor on a dual core system
On Tue, Jun 17, 2008 at 02:27:15PM +0530, Saravana Kumar K, Bangalore wrote: Hi,> On dual core processor machine, I installed ubuntu-8.04 in which I > installed xen-3.2. > > In ubuntu: > > # cat /proc/cpuinfo --> Shows two processors information.Please post the output from dmesg command on freshly started system.> But in Xen on the same machine: > > # cat /proc/cpuinfo --> Shows only one processor information.Again, dmesg and xm dmesg results should give us some clues.> The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only.[...] I guess I''m not allowed to reply... Greetings, Kupson -- Great software without the knowledge to run it is pretty useless. (Linux Gazette #1) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Saravana Kumar K, Bangalore
2008-Jun-17 09:55 UTC
RE: [Xen-users] Xen shows single processor on a dual core system
Please find xm dmesg below: \ \/ /___ _ __ |___ / |___ \ / | \ // _ \ ''_ \ |_ \ __) | | | / \ __/ | | | ___) | / __/ _| | /_/\_\___|_| |_| |____(_)_____(_)_| (XEN) Xen version 3.2.1 (root@) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) Mon Jun 9 18:24:56 IST 2008 (XEN) Latest ChangeSet: unavailable (XEN) Command line: acpi=off (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: none; EDID transfer time: 0 seconds (XEN) EDID info not retrieved because no DDC retrieval method detected (XEN) Disc information: (XEN) Found 1 MBR signatures (XEN) Found 1 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 000000000009ec00 (usable) (XEN) 000000000009ec00 - 00000000000a0000 (reserved) (XEN) 00000000000e0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000003ec20000 (usable) (XEN) 000000003ec20000 - 000000003ec22000 (reserved) (XEN) 000000003ec22000 - 000000003ecfa000 (usable) (XEN) 000000003ecfa000 - 000000003edea000 (ACPI NVS) (XEN) 000000003edea000 - 000000003edee000 (usable) (XEN) 000000003edee000 - 000000003edf3000 (ACPI data) (XEN) 000000003edf3000 - 000000003edf4000 (usable) (XEN) 000000003edf4000 - 000000003edff000 (ACPI data) (XEN) 000000003edff000 - 000000003ee00000 (usable) (XEN) 000000003ee00000 - 000000003f800000 (reserved) (XEN) 00000000f0000000 - 00000000f8000000 (reserved) (XEN) 00000000fff00000 - 0000000100000000 (reserved) (XEN) System RAM: 1004MB (1028720kB) (XEN) Xen heap: 9MB (10100kB) (XEN) Domain heap initialised: DMA width 32 bits (XEN) PAE enabled, limit: 16 GB (XEN) Processor #0 6:15 APIC version 20 (XEN) Enabling APIC mode: Flat. Using 0 I/O APICs (XEN) BIOS bug, no explicit IRQ entries, using default mptable. (tell your hw vendor) (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 2666.419 MHz processor. (XEN) HVM: VMX enabled (XEN) CPU0: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz stepping 0b (XEN) Total of 1 processors activated. (XEN) Platform timer overflows in 2 jiffies. (XEN) Platform timer is 1.193MHz PIT (XEN) Brought up 1 CPUs (XEN) AMD IOMMU: Disabled (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen kernel: 32-bit, PAE, lsb (XEN) Dom0 kernel: 32-bit, PAE, lsb, paddr 0xc0100000 -> 0xc044d97c (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 000000003a000000->000000003c000000 (228232 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0100000->c044d97c (XEN) Init. ramdisk: c044e000->c15bfa00 (XEN) Phys-Mach map: c15c0000->c16a6e20 (XEN) Start info: c16a7000->c16a7474 (XEN) Page tables: c16a8000->c16b9000 (XEN) Boot stack: c16b9000->c16ba000 (XEN) TOTAL: c0000000->c1800000 (XEN) ENTRY ADDRESS: c0100000 (XEN) Dom0 has maximum 1 VCPUs (XEN) Initrd len 0x1171a00, start at 0xc044e000 (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 96kB init memory. Please find the dmesg below 04fffff PREFETCH window: disabled. PCI: Bridge: 0000:00:1c.1 IO window: 2000-2fff MEM window: 50100000-501fffff PREFETCH window: disabled. PCI: Bridge: 0000:00:1c.2 IO window: disabled. MEM window: 50500000-505fffff PREFETCH window: disabled. PCI: Bridge: 0000:00:1c.3 IO window: disabled. MEM window: 50600000-506fffff PREFETCH window: disabled. PCI: Bridge: 0000:00:1c.4 IO window: disabled. MEM window: 50700000-507fffff PREFETCH window: disabled. PCI: Bridge: 0000:00:1e.0 IO window: 1000-1fff MEM window: 50000000-500fffff PREFETCH window: 50800000-508fffff PCI: Enabling device 0000:00:1c.0 (0000 -> 0002) PCI: Found IRQ 9 for device 0000:00:1c.0 PCI: Sharing IRQ 9 with 0000:00:1a.2 PCI: Sharing IRQ 9 with 0000:00:1a.7 PCI: Sharing IRQ 9 with 0000:00:1c.4 PCI: Sharing IRQ 9 with 0000:02:00.0 PCI: Setting latency timer of device 0000:00:1c.0 to 64 PCI: Found IRQ 9 for device 0000:00:1c.1 PCI: Sharing IRQ 9 with 0000:00:19.0 PCI: Setting latency timer of device 0000:00:1c.1 to 64 PCI: Enabling device 0000:00:1c.2 (0000 -> 0002) PCI: Found IRQ 10 for device 0000:00:1c.2 PCI: Sharing IRQ 10 with 0000:00:1a.0 PCI: Sharing IRQ 10 with 0000:00:1d.2 PCI: Sharing IRQ 10 with 0000:00:1f.3 PCI: Sharing IRQ 10 with 0000:06:02.0 PCI: Setting latency timer of device 0000:00:1c.2 to 64 PCI: Enabling device 0000:00:1c.3 (0000 -> 0002) PCI: Found IRQ 11 for device 0000:00:1c.3 PCI: Sharing IRQ 11 with 0000:00:1d.1 PCI: Sharing IRQ 11 with 0000:06:03.0 PCI: Setting latency timer of device 0000:00:1c.3 to 64 PCI: Enabling device 0000:00:1c.4 (0000 -> 0002) PCI: Found IRQ 9 for device 0000:00:1c.4 PCI: Sharing IRQ 9 with 0000:00:1a.2 PCI: Sharing IRQ 9 with 0000:00:1a.7 PCI: Sharing IRQ 9 with 0000:00:1c.0 PCI: Sharing IRQ 9 with 0000:02:00.0 PCI: Setting latency timer of device 0000:00:1c.4 to 64 PCI: Setting latency timer of device 0000:00:1e.0 to 64 NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1048576 bytes) TCP bind hash table entries: 65536 (order: 7, 524288 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered PM: Adding info for platform:pcspkr IA-32 Microcode Update Driver: v1.14a-xen <tigran@veritas.com> audit: initializing netlink socket (disabled) audit(1213606966.680:1): initialized highmem bounce pool size: 64 pages VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) PM: Adding info for platform:vesafb.0 floppy0: Unable to grab DMA2 for the floppy driver floppy0: no floppy controllers found RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize loop: loaded (max 8 devices) Xen virtual console successfully installed as xvc0 Event-channel device installed. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PNP: No PS/2 controller found. Probing ports directly. PM: Adding info for platform:i8042 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 PM: Adding info for serio:serio0 PM: Adding info for serio:serio1 mice: PS/2 mouse device common for all mice md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode BIOS EDD facility v0.16 2004-Jun-25, 1 devices found Freeing unused kernel memory: 196k freed input: AT Translated Set 2 keyboard as /class/input/input0 fuse init (API version 7.7) input: ImPS/2 Generic Wheel Mouse as /class/input/input1 usbcore: registered new driver usbfs usbcore: registered new driver hub USB Universal Host Controller Interface driver v3.0 PCI: Found IRQ 10 for device 0000:00:1a.0 PCI: Sharing IRQ 10 with 0000:00:1c.2 PCI: Sharing IRQ 10 with 0000:00:1d.2 PCI: Sharing IRQ 10 with 0000:00:1f.3 PCI: Sharing IRQ 10 with 0000:06:02.0 PCI: Setting latency timer of device 0000:00:1a.0 to 64 uhci_hcd 0000:00:1a.0: UHCI Host Controller uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:1a.0: irq 10, io base 0x000030e0 PM: Adding info for usb:usb1 PM: Adding info for No Bus:usbdev1.1_ep00 usb usb1: configuration #1 chosen from 1 choice PM: Adding info for usb:1-0:1.0 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected SCSI subsystem initialized libata version 2.00 loaded. PM: Adding info for No Bus:usbdev1.1_ep81 PCI: Found IRQ 11 for device 0000:00:1a.1 PCI: Sharing IRQ 11 with 0000:00:1f.2 PCI: Setting latency timer of device 0000:00:1a.1 to 64 uhci_hcd 0000:00:1a.1: UHCI Host Controller uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1a.1: irq 11, io base 0x000030c0 PM: Adding info for usb:usb2 PM: Adding info for No Bus:usbdev2.1_ep00 usb usb2: configuration #1 chosen from 1 choice PM: Adding info for usb:2-0:1.0 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected Linux Tulip driver version 1.1.13-NAPI (May 11, 2002) ieee1394: Initialized config rom entry `ip1394'' PM: Adding info for No Bus:usbdev2.1_ep81 PCI: Found IRQ 9 for device 0000:00:1a.2 PCI: Sharing IRQ 9 with 0000:00:1a.7 PCI: Sharing IRQ 9 with 0000:00:1c.0 PCI: Sharing IRQ 9 with 0000:00:1c.4 PCI: Sharing IRQ 9 with 0000:02:00.0 PCI: Setting latency timer of device 0000:00:1a.2 to 64 uhci_hcd 0000:00:1a.2: UHCI Host Controller uhci_hcd 0000:00:1a.2: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:1a.2: irq 9, io base 0x000030a0 PM: Adding info for usb:usb3 PM: Adding info for No Bus:usbdev3.1_ep00 usb usb3: configuration #1 chosen from 1 choice PM: Adding info for usb:3-0:1.0 hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected PM: Adding info for No Bus:usbdev3.1_ep81 PCI: Found IRQ 11 for device 0000:00:1d.0 PCI: Sharing IRQ 11 with 0000:00:1d.7 PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: UHCI Host Controller uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:1d.0: irq 11, io base 0x00003080 PM: Adding info for usb:usb4 PM: Adding info for No Bus:usbdev4.1_ep00 usb usb4: configuration #1 chosen from 1 choice PM: Adding info for usb:4-0:1.0 hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected PM: Adding info for No Bus:usbdev4.1_ep81 PCI: Found IRQ 11 for device 0000:00:1d.1 PCI: Sharing IRQ 11 with 0000:00:1c.3 PCI: Sharing IRQ 11 with 0000:06:03.0 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 5 uhci_hcd 0000:00:1d.1: irq 11, io base 0x00003060 PM: Adding info for usb:usb5 PM: Adding info for No Bus:usbdev5.1_ep00 usb usb5: configuration #1 chosen from 1 choice PM: Adding info for usb:5-0:1.0 hub 5-0:1.0: USB hub found hub 5-0:1.0: 2 ports detected PM: Adding info for No Bus:usbdev5.1_ep81 PCI: Found IRQ 10 for device 0000:00:1d.2 PCI: Sharing IRQ 10 with 0000:00:1a.0 PCI: Sharing IRQ 10 with 0000:00:1c.2 PCI: Sharing IRQ 10 with 0000:00:1f.3 PCI: Sharing IRQ 10 with 0000:06:02.0 PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: UHCI Host Controller uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 6 uhci_hcd 0000:00:1d.2: irq 10, io base 0x00003040 PM: Adding info for usb:usb6 PM: Adding info for No Bus:usbdev6.1_ep00 usb usb6: configuration #1 chosen from 1 choice PM: Adding info for usb:6-0:1.0 hub 6-0:1.0: USB hub found hub 6-0:1.0: 2 ports detected PM: Adding info for No Bus:usbdev6.1_ep81 PCI: Found IRQ 9 for device 0000:00:1a.7 PCI: Sharing IRQ 9 with 0000:00:1a.2 PCI: Sharing IRQ 9 with 0000:00:1c.0 PCI: Sharing IRQ 9 with 0000:00:1c.4 PCI: Sharing IRQ 9 with 0000:02:00.0 PCI: Setting latency timer of device 0000:00:1a.7 to 64 ehci_hcd 0000:00:1a.7: EHCI Host Controller ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 7 ehci_hcd 0000:00:1a.7: debug port 1 PCI: cache line size of 32 is not supported by device 0000:00:1a.7 ehci_hcd 0000:00:1a.7: irq 9, io mem 0x503a5c00 ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 PM: Adding info for usb:usb7 PM: Adding info for No Bus:usbdev7.1_ep00 usb usb7: configuration #1 chosen from 1 choice PM: Adding info for usb:7-0:1.0 hub 7-0:1.0: USB hub found hub 7-0:1.0: 6 ports detected PM: Adding info for No Bus:usbdev7.1_ep81 PCI: Found IRQ 11 for device 0000:00:1d.7 PCI: Sharing IRQ 11 with 0000:00:1d.0 PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: EHCI Host Controller ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 8 ehci_hcd 0000:00:1d.7: debug port 1 PCI: cache line size of 32 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: irq 11, io mem 0x503a5800 ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 PM: Adding info for usb:usb8 PM: Adding info for No Bus:usbdev8.1_ep00 usb usb8: configuration #1 chosen from 1 choice PM: Adding info for usb:8-0:1.0 hub 8-0:1.0: USB hub found hub 8-0:1.0: 6 ports detected PM: Adding info for No Bus:usbdev8.1_ep81 ahci 0000:00:1f.2: version 2.0 PCI: Found IRQ 11 for device 0000:00:1f.2 PCI: Sharing IRQ 11 with 0000:00:1a.1 PCI: Setting latency timer of device 0000:00:1f.2 to 64 ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 6 ports 3 Gbps 0x3f impl SATA mode ahci 0000:00:1f.2: flags: 64bit ncq led clo pmp pio slum part ata1: SATA max UDMA/133 cmd 0xEE098100 ctl 0x0 bmdma 0x0 irq 11 ata2: SATA max UDMA/133 cmd 0xEE098180 ctl 0x0 bmdma 0x0 irq 11 ata3: SATA max UDMA/133 cmd 0xEE098200 ctl 0x0 bmdma 0x0 irq 11 ata4: SATA max UDMA/133 cmd 0xEE098280 ctl 0x0 bmdma 0x0 irq 11 ata5: SATA max UDMA/133 cmd 0xEE098300 ctl 0x0 bmdma 0x0 irq 11 ata6: SATA max UDMA/133 cmd 0xEE098380 ctl 0x0 bmdma 0x0 irq 11 scsi0 : ahci PM: Adding info for No Bus:host0 ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata1.00: ATA-7, max UDMA/133, 312581808 sectors: LBA48 NCQ (depth 31/32) ata1.00: configured for UDMA/133 scsi1 : ahci PM: Adding info for No Bus:host1 ata2: SATA link down (SStatus 0 SControl 300) scsi2 : ahci PM: Adding info for No Bus:host2 ata3: SATA link down (SStatus 0 SControl 300) scsi3 : ahci PM: Adding info for No Bus:host3 ata4: SATA link down (SStatus 0 SControl 300) scsi4 : ahci PM: Adding info for No Bus:host4 ata5: SATA link down (SStatus 0 SControl 300) scsi5 : ahci PM: Adding info for No Bus:host5 ata6: SATA link down (SStatus 0 SControl 300) PM: Adding info for No Bus:target0:0:0 Vendor: ATA Model: ST3160215AS Rev: 3.AA Type: Direct-Access ANSI SCSI revision: 05 PM: Adding info for scsi:0:0:0:0 PCI: Found IRQ 10 for device 0000:06:02.0 PCI: Sharing IRQ 10 with 0000:00:1a.0 PCI: Sharing IRQ 10 with 0000:00:1c.2 PCI: Sharing IRQ 10 with 0000:00:1d.2 PCI: Sharing IRQ 10 with 0000:00:1f.3 tulip0: EEPROM default media type Autosense. tulip0: Index #0 - Media MII (#11) described by a 21140 MII PHY (1) block. tulip0: MII transceiver #3 config 3100 status 7809 advertising 01e1. eth0: Digital DS21140 Tulip rev 32 at 00011000, 00:00:C0:12:33:00, IRQ 10. PCI: Found IRQ 11 for device 0000:06:03.0 PCI: Sharing IRQ 11 with 0000:00:1c.3 PCI: Sharing IRQ 11 with 0000:00:1d.1 PM: Adding info for ieee1394:fw-host0 ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[11] MMIO=[50004000-500047ff] Max Packet=[2048] IR/IT contexts=[4/8] SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back sda: sda1 sda2 sda3 sda4 sd 0:0:0:0: Attached scsi disk sda sd 0:0:0:0: Attached scsi generic sg0 type 0 kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. *************************************************************** *************************************************************** ** WARNING: Currently emulating unsupported memory accesses ** ** in /lib/tls glibc libraries. The emulation is ** ** slow. To ensure full performance you should ** ** install a ''xen-friendly'' (nosegneg) version of ** ** the library, or disable tls support by executing ** ** the following as root: ** ** mv /lib/tls /lib/tls.disabled ** ** Offending process: init (pid=2583) ** *************************************************************** *************************************************************** Continuing... PM: Adding info for ieee1394:0090270001f39032 ieee1394: Host added: ID:BUS[0-00:1023] GUID[0090270001f39032] PM: Adding info for ieee1394:0090270001f39032-0 ts: Compaq touchscreen protocol output NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver pci_hotplug: PCI Hot Plug PCI Core version: 0.5 shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 input: PC Speaker as /class/input/input2 PCI: Found IRQ 10 for device 0000:00:1b.0 PCI: Setting latency timer of device 0000:00:1b.0 to 64 eth0: Setting full-duplex based on MII#3 link partner capability of 03e1. hda_codec: Unknown model for ALC883, trying auto-probe from BIOS... lp: driver loaded but no devices found ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1) ieee1394: sbp2: Try serialize_io=0 for better performance Adding 1951888k swap on /dev/sda2. Priority:-1 extents:1 across:1951888k Adding 1951888k swap on /dev/sda4. Priority:-2 extents:1 across:1951888k EXT3 FS on sda3, internal journal ip_tables: (C) 2000-2006 Netfilter Core Team ppdev: user-space parallel port driver Bridge firewalling registered Netfilter messages via NETLINK v0.30. ip_conntrack version 2.4 (7452 buckets, 59616 max) - 228 bytes per conntrack peth0: Promiscuous mode enabled. device peth0 entered promiscuous mode audit(1213607006.148:2): dev=peth0 prom=256 old_prom=0 auid=4294967295 eth0: port 1(peth0) entering learning state eth0: topology change detected, propagating eth0: port 1(peth0) entering forwarding state peth0: Promiscuous mode enabled. Bluetooth: Core ver 2.10 PM: Adding info for platform:Bluetooth NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized peth0: Promiscuous mode enabled. peth0: Promiscuous mode enabled. Bluetooth: L2CAP ver 2.8 Bluetooth: L2CAP socket layer initialized Bluetooth: RFCOMM socket layer initialized Bluetooth: RFCOMM TTY layer initialized Bluetooth: RFCOMM ver 1.8 peth0: Promiscuous mode enabled. peth0: Promiscuous mode enabled. peth0: Promiscuous mode enabled. peth0: Promiscuous mode enabled. vnet0: no IPv6 routers present eth0: no IPv6 routers present peth0: Promiscuous mode enabled. peth0: Promiscuous mode enabled. Thanks Saravana -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Rafal Kupka Sent: Tuesday, June 17, 2008 3:15 PM To: xen-users@lists.xensource.com Subject: Re: [Xen-users] Xen shows single processor on a dual core system On Tue, Jun 17, 2008 at 02:27:15PM +0530, Saravana Kumar K, Bangalore wrote: Hi,> On dual core processor machine, I installed ubuntu-8.04 in which I> installed xen-3.2.>> In ubuntu:>> # cat /proc/cpuinfo --> Shows two processors information.Please post the output from dmesg command on freshly started system.> But in Xen on the same machine:>> # cat /proc/cpuinfo --> Shows only one processor information.Again, dmesg and xm dmesg results should give us some clues.> The contents of this e-mail and any attachment(s) are confidential and> intended for the named recipient(s) only.[...] I guess I''m not allowed to reply... Greetings, Kupson -- Great software without the knowledge to run it is pretty useless. (Linux Gazette #1) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2008-Jun-18 18:14 UTC
Re: [Xen-users] Xen shows single processor on a dual core system
The output of "xm info" is useful here. dom0 usually only gets one virtual CPU, so reading /proc/cpuinfo won''t necessarily give you meaningful results. xm info will tell you how many CPUs Xen thinks it has to give to other guests. Cheers, Mark On Tuesday 17 June 2008, Saravana Kumar K, Bangalore wrote:> Hi all, > > > > On dual core processor machine, I installed ubuntu-8.04 in which I > installed xen-3.2. > > In ubuntu: > > # cat /proc/cpuinfo --> Shows two processors information. > > > > But in Xen on the same machine: > > # cat /proc/cpuinfo --> Shows only one processor information. > > > > Can anyone please explain what could be the reason behind this? > > > > I have a dual-core, single processor system (two cores on a single > chip). > > Xen-3.2 build from source. Kernel version is: 2.6.18.8-xen > > > > Please find the /proc/cpuinfo for ubuntu and xen > > > > Cat /proc/cpuinfo --> In ubuntu > > processor : 0 > > vendor_id : GenuineIntel > > cpu family : 6 > > model : 15 > > model name : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz > > stepping : 11 > > cpu MHz : 1998.000 > > cache size : 4096 KB > > physical id : 0 > > siblings : 2 > > core id : 0 > > cpu cores : 2 > > fdiv_bug : no > > hlt_bug : no > > f00f_bug : no > > coma_bug : no > > fpu : yes > > fpu_exception : yes > > cpuid level : 10 > > wp : yes > > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge > mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm > constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 > ssse3 cx16 xtpr lahf_lm > > bogomips : 5336.77 > > clflush size : 64 > > > > processor : 1 > > vendor_id : GenuineIntel > > cpu family : 6 > > model : 15 > > model name : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz > > stepping : 11 > > cpu MHz : 1998.000 > > cache size : 4096 KB > > physical id : 0 > > siblings : 2 > > core id : 1 > > cpu cores : 2 > > fdiv_bug : no > > hlt_bug : no > > f00f_bug : no > > coma_bug : no > > fpu : yes > > fpu_exception : yes > > cpuid level : 10 > > wp : yes > > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge > mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm > constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 > ssse3 cx16 xtpr lahf_lm > > bogomips : 5333.09 > > clflush size : 64 > > > > > > cat /proc/cpuinfo --> In Xen > > > > processor : 0 > > vendor_id : GenuineIntel > > cpu family : 6 > > model : 15 > > model name : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz > > stepping : 11 > > cpu MHz : 2666.418 > > cache size : 4096 KB > > fdiv_bug : no > > hlt_bug : no > > f00f_bug : no > > coma_bug : no > > fpu : yes > > fpu_exception : yes > > cpuid level : 10 > > wp : yes > > flags : fpu de tsc msr pae cx8 apic mtrr cmov pat clflush acpi > mmx fxsr sse sse2 ss ht constant_tsc up pni > > bogomips : 5423.10 > > > > > > Thanks > > Saravana > > > > DISCLAIMER: > --------------------------------------------------------------------------- >-------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. It shall not attach any liability > on the originator or HCL or its affiliates. Any views or opinions presented > in this email are solely those of the author and may not necessarily > reflect the opinions of HCL or its affiliates. Any form of reproduction, > dissemination, copying, disclosure, modification, distribution and / or > publication of this message without the prior written consent of the author > of this e-mail is strictly prohibited. If you have received this email in > error please delete it and notify the sender immediately. Before opening > any mail and attachments please check them for viruses and defect. > > --------------------------------------------------------------------------- >---------------------------------------------- Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rafał Kupka
2008-Jun-19 17:06 UTC
Re: [Xen-users] Xen shows single processor on a dual core system
On Tue, Jun 17, 2008 at 03:25:19PM +0530, Saravana Kumar K, Bangalore wrote: Hi,> Please find xm dmesg below:[trimmed]> (XEN) Processor #0 6:15 APIC version 20 > (XEN) Enabling APIC mode: Flat. Using 0 I/O APICs > (XEN) BIOS bug, no explicit IRQ entries, using default mptable. (tell your hw vendor)See if there is a BIOS upgrade for your motherboard. Regards, Kupson -- Great software without the knowledge to run it is pretty useless. (Linux Gazette #1) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users