All of lore.kernel.org
 help / color / mirror / Atom feed
* More questions on Xen
@ 2005-02-26  7:36 Franck
       [not found] ` <42213BCD.1020900@vgertech.com>
  0 siblings, 1 reply; 7+ messages in thread
From: Franck @ 2005-02-26  7:36 UTC (permalink / raw)
  To: xen-devel

Hi,

i've a problem with xen testing and my server.

Configuration :
Debian sarge on host
2 x celeron 366 with 256 Mo RAM
1 HD scsi 9Go
1 HD IDE 20 Go
1 scsi card (tmscsim)

make dist <= OK
sh install.sh <= OK
I've modify grub and the kernel vmlinuz-2.6.10-xen0 boot and 2 guest OS 
are also lauching :)

But, on my host in vmlinuz-2.6.10-xen0, only 1 CPU is detected and my 
scsi card is not recognized :(

I've also build my own kernel with the doc 
(http://www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes/user/user.html#SECTION02230000000000000000) 
but, on boot, my server always restart.

My questions are :
- How can i have SMP support on host
- How can i have my scsi card on host
- How can i have more modules for host system

Regards

Franck


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: More questions on Xen
       [not found] ` <42213BCD.1020900@vgertech.com>
@ 2005-02-27  7:16   ` Franck
  2005-02-27 11:23     ` B.G. Bruce
  0 siblings, 1 reply; 7+ messages in thread
From: Franck @ 2005-02-27  7:16 UTC (permalink / raw)
  To: xen-devel


>> Hi,
>>
>> i've a problem with xen testing and my server.
>>
>> Configuration :
>> Debian sarge on host
>> 2 x celeron 366 with 256 Mo RAM
>> 1 HD scsi 9Go
>> 1 HD IDE 20 Go
>> 1 scsi card (tmscsim)
>>
>> make dist <= OK
>> sh install.sh <= OK
>> I've modify grub and the kernel vmlinuz-2.6.10-xen0 boot and 2 guest 
>> OS are also lauching :)
>>
>> But, on my host in vmlinuz-2.6.10-xen0, only 1 CPU is detected and my 
> 
> 
> This is OK, each guest only sees one processor. If you start another 
> domain it will use the second one.
No, i don't think because i'm on my host guest, not in guest.

>> scsi card is not recognized :(
> 
> 
> You should compile your scsi driver in dom0.

OK, now that's work fine :)

>>
>> I've also build my own kernel with the doc 
>> (http://www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes/user/user.html#SECTION02230000000000000000) 
>> but, on boot, my server always restart.
>>
>> My questions are :
>> - How can i have SMP support on host
>> - How can i have my scsi card on host
>> - How can i have more modules for host system
> 
> 
> You must recompile everything. Try again :-)

Is it possible to recompile host and guest with 2 different config ?
On host xen0, i'm wanting all in modules. But in guest kernel, xenU, i 
don't want module support. Can i do this ?

cd linux-2.6.10-xen0
make ARCH=xen menuconfig <= changing everything i want in xen0
cd ..
cd linux-2.6.10-xenU
make ARCH=xen menuconfig <= changing everything i want for xenU
cd ..
make
make install
changing grub

Is good or not ?

Regards


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: More questions on Xen
  2005-02-27  7:16   ` Franck
@ 2005-02-27 11:23     ` B.G. Bruce
  2005-02-27 11:42       ` Franck
  0 siblings, 1 reply; 7+ messages in thread
From: B.G. Bruce @ 2005-02-27 11:23 UTC (permalink / raw)
  To: Franck; +Cc: xen-devel

On Sun, 2005-02-27 at 03:16, Franck wrote:
> > 
> > This is OK, each guest only sees one processor. If you start another 
> > domain it will use the second one.
> No, i don't think because i'm on my host guest, not in guest.
> 
What does "xm dmesg" show?  Remember, XEN is sitting between Dom0 and
your hardware.  XEN should report 2+ processors on an SMP box, however
Dom0 will only "see" one.

B.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: More questions on Xen
  2005-02-27 11:23     ` B.G. Bruce
@ 2005-02-27 11:42       ` Franck
  2005-02-27 11:48         ` Keir Fraser
  2005-02-27 11:58         ` B.G. Bruce
  0 siblings, 2 replies; 7+ messages in thread
From: Franck @ 2005-02-27 11:42 UTC (permalink / raw)
  To: xen-devel

>>>This is OK, each guest only sees one processor. If you start another 
>>>domain it will use the second one.
>>
>>No, i don't think because i'm on my host guest, not in guest.
>>
> 
> What does "xm dmesg" show?  Remember, XEN is sitting between Dom0 and
> your hardware.  XEN should report 2+ processors on an SMP box, however
> Dom0 will only "see" one.

Ok, dmeg look like 2 CPU and assign only CPU0 to dom0
I've 2 xenU guest running, each one has 1 CPU ?
How can i find if the 2 CPU are working on the system ?


xm dmesg
[...]
(XEN) CPU0: Before vendor init, caps: 0183fbff 00000000 00000000, vendor = 0
(XEN) CPU caps: 0183fbff 00000000 00000000 00000000
(XEN) found SMP MP-table at 000f5ae0
(XEN) ACPI: RSDP (v000 ABIT                                      ) @ 
0x000f7370
(XEN) ACPI: RSDT (v001 ABIT   AWRDACPI 0x42302e31 AWRD 0x00000000) @ 
0x11ff3000
(XEN) ACPI: FADT (v001 ABIT   AWRDACPI 0x42302e31 AWRD 0x00000000) @ 
0x11ff3040
(XEN) ACPI: MADT (v001 ABIT            0x00000000  0x00000000) @ 0x11ff54c0
(XEN) ACPI: DSDT (v001 ABIT   AWRDACPI 0x00001000 MSFT 0x0100000c) @ 
0x00000000
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
(XEN) Processor #0 Pentium(tm) Pro APIC version 17
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
(XEN) Processor #1 Pentium(tm) Pro APIC version 17
(XEN) Using ACPI for processor (LAPIC) configuration information
(XEN) Intel MultiProcessor Specification v1.4
(XEN)     Virtual Wire compatibility mode.
(XEN) OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
(XEN) I/O APIC #2 Version 17 at 0xFEC00000.
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) Processors: 2
(XEN) Using scheduler: Borrowed Virtual Time (bvt)
(XEN) Initializing CPU#0
(XEN) Detected 367.508 MHz processor.
(XEN) CPU0: Before vendor init, caps: 0183fbff 00000000 00000000, vendor = 0
(XEN) CPU caps: 0183fbff 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: 0183fbff 00000000 00000000, vendor = 0
(XEN) CPU caps: 0183fbff 00000000 00000000 00000000
(XEN) CPU1 has booted.
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) Setting 2 in the phys_id_present_map
(XEN) ...changing IO-APIC physical APIC ID to 2 ... ok.
(XEN) init IO_APIC IRQs
(XEN) ..TIMER: vector=0x41 pin1=2 pin2=0
(XEN) Using local APIC timer interrupts.
(XEN) Calibrating APIC timer for CPU0...
(XEN) ..... CPU speed is 367.5020 MHz.
(XEN) ..... Bus speed is 66.8184 MHz.
(XEN) ..... bus_scale = 0x0000446D
(XEN) checking TSC synchronization across CPUs: passed.
(XEN) Time init:
(XEN) .... System Time: 60875099ns
(XEN) .... cpu_freq:    00000000:15E7BDE0
(XEN) .... scale:       00000002:B894E76A
(XEN) .... Wall Clock:  1109504276s 190000us
(XEN) PCI: PCI BIOS revision 2.10 entry at 0xfb5c0, last bus=1
(XEN) PCI: Using configuration type 1
(XEN) PCI: Probing PCI hardware
(XEN) PCI: Probing PCI hardware (bus 00)
(XEN) PCI: Using IRQ router PIIX/ICH [8086/7110] at 00:07.0
(XEN) PCI->APIC IRQ transform: (B0,I9,P0) -> 19
(XEN) PCI->APIC IRQ transform: (B0,I13,P0) -> 17
(XEN) PCI->APIC IRQ transform: (B0,I19,P0) -> 18
(XEN) PCI->APIC IRQ transform: (B0,I19,P1) -> 18
(XEN) PCI->APIC IRQ transform: (B1,I0,P0) -> 16
(XEN) Limiting direct PCI/PCI transfers.
(XEN) mtrr: v2.0 (20020519)
(XEN) mtrr: your CPUs had inconsistent fixed MTRR settings
(XEN) mtrr: probably your BIOS does not setup all CPUs.
(XEN) mtrr: corrected configuration.
(XEN) *** LOADING DOMAIN 0 ***
[...]


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: More questions on Xen
  2005-02-27 11:42       ` Franck
@ 2005-02-27 11:48         ` Keir Fraser
  2005-02-27 12:01           ` Franck
  2005-02-27 11:58         ` B.G. Bruce
  1 sibling, 1 reply; 7+ messages in thread
From: Keir Fraser @ 2005-02-27 11:48 UTC (permalink / raw)
  To: Franck; +Cc: xen-devel


On 27 Feb 2005, at 11:42, Franck wrote:

> Ok, dmeg look like 2 CPU and assign only CPU0 to dom0
> I've 2 xenU guest running, each one has 1 CPU ?
> How can i find if the 2 CPU are working on the system ?

'xm list' will tell you which CPU each domain is assigned to.

  -- Keir



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: More questions on Xen
  2005-02-27 11:42       ` Franck
  2005-02-27 11:48         ` Keir Fraser
@ 2005-02-27 11:58         ` B.G. Bruce
  1 sibling, 0 replies; 7+ messages in thread
From: B.G. Bruce @ 2005-02-27 11:58 UTC (permalink / raw)
  To: Franck; +Cc: xen-devel

You can tell with an "xm list".  If you have Dom0 and 2 DomU's running,
unless you pinned each dom to the same processor, XEN should have at
least one of three on the second processor.  An example of what a dual
processor box looks like would be:

xen0 root # xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      155    0  r----  231393.8
domU-1             1       31    1  -b---  181150.6    9601
domU-2             2      127    0  -b---  163574.0    9602
domU-3             3       31    1  -b---    785.2    9603
domU-4             4       79    0  -----  151464.4    9604


See the column "CPU".  It shows to which XEN cpu the dom is running on.

B.








On Sun, 2005-02-27 at 07:42, Franck wrote:
> >>>This is OK, each guest only sees one processor. If you start another 
> >>>domain it will use the second one.
> >>
> >>No, i don't think because i'm on my host guest, not in guest.
> >>
> > 
> > What does "xm dmesg" show?  Remember, XEN is sitting between Dom0 and
> > your hardware.  XEN should report 2+ processors on an SMP box, however
> > Dom0 will only "see" one.
> 
> Ok, dmeg look like 2 CPU and assign only CPU0 to dom0
> I've 2 xenU guest running, each one has 1 CPU ?
> How can i find if the 2 CPU are working on the system ?
> 
> 
> xm dmesg
> [...]
> (XEN) CPU0: Before vendor init, caps: 0183fbff 00000000 00000000, vendor = 0
> (XEN) CPU caps: 0183fbff 00000000 00000000 00000000
> (XEN) found SMP MP-table at 000f5ae0
> (XEN) ACPI: RSDP (v000 ABIT                                      ) @ 
> 0x000f7370
> (XEN) ACPI: RSDT (v001 ABIT   AWRDACPI 0x42302e31 AWRD 0x00000000) @ 
> 0x11ff3000
> (XEN) ACPI: FADT (v001 ABIT   AWRDACPI 0x42302e31 AWRD 0x00000000) @ 
> 0x11ff3040
> (XEN) ACPI: MADT (v001 ABIT            0x00000000  0x00000000) @ 0x11ff54c0
> (XEN) ACPI: DSDT (v001 ABIT   AWRDACPI 0x00001000 MSFT 0x0100000c) @ 
> 0x00000000
> (XEN) ACPI: Local APIC address 0xfee00000
> (XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
> (XEN) Processor #0 Pentium(tm) Pro APIC version 17
> (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
> (XEN) Processor #1 Pentium(tm) Pro APIC version 17
> (XEN) Using ACPI for processor (LAPIC) configuration information
> (XEN) Intel MultiProcessor Specification v1.4
> (XEN)     Virtual Wire compatibility mode.
> (XEN) OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
> (XEN) I/O APIC #2 Version 17 at 0xFEC00000.
> (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
> (XEN) Processors: 2
> (XEN) Using scheduler: Borrowed Virtual Time (bvt)
> (XEN) Initializing CPU#0
> (XEN) Detected 367.508 MHz processor.
> (XEN) CPU0: Before vendor init, caps: 0183fbff 00000000 00000000, vendor = 0
> (XEN) CPU caps: 0183fbff 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: 0183fbff 00000000 00000000, vendor = 0
> (XEN) CPU caps: 0183fbff 00000000 00000000 00000000
> (XEN) CPU1 has booted.
> (XEN) Total of 2 processors activated.
> (XEN) ENABLING IO-APIC IRQs
> (XEN) Setting 2 in the phys_id_present_map
> (XEN) ...changing IO-APIC physical APIC ID to 2 ... ok.
> (XEN) init IO_APIC IRQs
> (XEN) ..TIMER: vector=0x41 pin1=2 pin2=0
> (XEN) Using local APIC timer interrupts.
> (XEN) Calibrating APIC timer for CPU0...
> (XEN) ..... CPU speed is 367.5020 MHz.
> (XEN) ..... Bus speed is 66.8184 MHz.
> (XEN) ..... bus_scale = 0x0000446D
> (XEN) checking TSC synchronization across CPUs: passed.
> (XEN) Time init:
> (XEN) .... System Time: 60875099ns
> (XEN) .... cpu_freq:    00000000:15E7BDE0
> (XEN) .... scale:       00000002:B894E76A
> (XEN) .... Wall Clock:  1109504276s 190000us
> (XEN) PCI: PCI BIOS revision 2.10 entry at 0xfb5c0, last bus=1
> (XEN) PCI: Using configuration type 1
> (XEN) PCI: Probing PCI hardware
> (XEN) PCI: Probing PCI hardware (bus 00)
> (XEN) PCI: Using IRQ router PIIX/ICH [8086/7110] at 00:07.0
> (XEN) PCI->APIC IRQ transform: (B0,I9,P0) -> 19
> (XEN) PCI->APIC IRQ transform: (B0,I13,P0) -> 17
> (XEN) PCI->APIC IRQ transform: (B0,I19,P0) -> 18
> (XEN) PCI->APIC IRQ transform: (B0,I19,P1) -> 18
> (XEN) PCI->APIC IRQ transform: (B1,I0,P0) -> 16
> (XEN) Limiting direct PCI/PCI transfers.
> (XEN) mtrr: v2.0 (20020519)
> (XEN) mtrr: your CPUs had inconsistent fixed MTRR settings
> (XEN) mtrr: probably your BIOS does not setup all CPUs.
> (XEN) mtrr: corrected configuration.
> (XEN) *** LOADING DOMAIN 0 ***
> [...]
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: More questions on Xen
  2005-02-27 11:48         ` Keir Fraser
@ 2005-02-27 12:01           ` Franck
  0 siblings, 0 replies; 7+ messages in thread
From: Franck @ 2005-02-27 12:01 UTC (permalink / raw)
  To: xen-devel


>> Ok, dmeg look like 2 CPU and assign only CPU0 to dom0
>> I've 2 xenU guest running, each one has 1 CPU ?
>> How can i find if the 2 CPU are working on the system ?
> 
> 
> 'xm list' will tell you which CPU each domain is assigne

OK fine, all work fine now and i understand how xen work with CPUs, 
memory and how to compil xen0 and xenU kernels :)

I've now xen0 with modules support and xenU without modules support and 
minimal config in kernel :)
YAHOOooo ..

xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      123    0  r----    821.9
hebus              3       63    1  -b---     25.2    9603
lanfeust           4       63    0  -b---      5.4    9604

Thanks for your help

Franck


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-02-27 12:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-26  7:36 More questions on Xen Franck
     [not found] ` <42213BCD.1020900@vgertech.com>
2005-02-27  7:16   ` Franck
2005-02-27 11:23     ` B.G. Bruce
2005-02-27 11:42       ` Franck
2005-02-27 11:48         ` Keir Fraser
2005-02-27 12:01           ` Franck
2005-02-27 11:58         ` B.G. Bruce

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.