Linux on 390 Port <[email protected]> wrote on 02.04.2005 00:04:37:

> Somewhere, somehow, and only sometimes, SLES9 thinks I have 32 cpus!

> cpu 0 phys_idx=0 vers=FF ident=XXXXXX machine=7060 unused=0000
> Brought up 32 CPUs

> This is the only SLES9 image that has SP1 installed.  All other images
> shows the correct "1" CPU installed.

Thats normal as SP1 has cpu hotplug. You have 32 possible cpus, of 
which cpu 0 is currently the only one which is online. 
You can now do

cat /sys/devices/system/cpu/*/online the status of all 32 possible cpus.

If you need more cpus for your guest and your VM has more than one IFL 
or PU, you can:

#cp define cpu 1     (in VM)
echo 1 > /sys/devices/system/cpu1/online    (in Linux)

and you have a second virtual cpu. 

You should have installed the fix from VM APAR VM63654 before using cpu 
hotplug. 

-- 
Mit freundlichen Gr��en / Best Regards / Un cordial saludo

Christian Borntr�ger
Linux Software Engineer
zSeries Linux & Virtualization
IBM Deutschland Entwicklung GmbH
email: [EMAIL PROTECTED]
Tel +49  7031 16 1975

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to