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

Re: [XenPPC] [linux-ppc-2.6] [XEN] The VIO rewrite

Here's this patch on JS20, with 192mb Dom0, 512mb total:

SLOF

***************************************************************************
JS2XBlade Starting
 Check ROM  = OK
 Build Date = Aug 14 2006 16:51:58
 FW Version = JS2XFW6331
Press "s" to enter Open Firmware.



  Welcome to JS2x Open Firmware

  Copyright International Business Machines Corporation 2004 - 2006
  US Government  Users  Restricted  Rights  --  Use, duplication or
  disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

Online CPUs: #0 #1 
0.5 GB of RAM @ 333 MHz
Switching top HT bus to 600MHz...
Disk drive identifies as: TOSHIBA MK4019GAXB                      
Disk drive identifies as: TOSHIBA MK4019GAXB                      

PCIe:
===================== VPD =====================
Machine Type        : 884221X
Machine Serial No.  : KPFXY4A
Hardware Revision   : 3 
Manuf. Date         : 3504
Part Number         : 24P8893     
FRU Number          : 13N1634     
FRU Serial No.      : ZJ1W0J48T12E
UUID                : d112ac980e6611d9acbf9251a5f4c08c
Firmware Rel. date  : 08/14/2006
Firmware Release    : 001
Firmware Build ID   : SLOF_633
vpd written
The currently active flashside is: 1 (temporary)
Stopping BMC watchdog...
parse-load net
Trying to load:  from: /ht/pci-x@2/enet@1,1 ... 

 Bootloader 1.5 
  Reading MAC address from device: 00:0D:60:1E:34:41
  Requesting IP address via BOOTP:    30arp9.2.72.97
  Requesting file "lab097/xen" via TFTP
  Receiving data:  |/...
  TFTP: Received lab097/xen (4262 KBytes)
Success
---------------------------------------------------
OF: Xen/PPC version 3.0-unstable (poff@xxxxxxxxxxxxxx) (gcc version 3.4.1) Sat 
Nov  4 11:47:20 EST 2006
boot_of_init args: 0x0 0x0 0x111027c 0x128bd92 0x0
boot msr: 0x1000000000003000
boot_of_init: _start 0000000000400000 _end 000000000075b2d0 0x128bd92
boot_of_probemem: memory 0x0000000000000000[0x20000000]
bootargs = xen -- root=/dev/hda2 sysrq=1 debug
boot_of_module: Dom0 is linked in: 0x474788[size 0x29af7a]
mod0: 177 E L F
boot_of_module: dom0 mod @ 0x0000000000474788[0x70f702]
boot_of_module: dom0 mod string: root=/dev/hda2 sysrq=1 debug
find_space base=0x000000000075b2d0  eomem=0x0000000020000000  size=0x00008000  
align=0x1000
find_space base=0x0000000000764000  eomem=0x0000000020000000  size=0x00030000  
align=0x1000
creating oftree
pkg_save: saved device tree in 0x2f20 bytes
boot_of_devtree: devtree mod @ 0x0000000000764000[0x794000]
OF: timebase-frequency = 199839336 Hz
OF: clock-frequency = 1600000 KHz
spinning up secondary processor #1: ping = 0xffffffff: pong = 0x1
pruning `/ht/isa@4/serial@3f8' from devtree
pruning `/ht/isa@4/serial@2f8' from devtree
boot_of_serial: ISA base: 0xf4000000
boot_of_serial: ISRC=0x44, but forcing poll mode
Quiescing Open Firmware ... __  __            _____  ___                     _  
      _     _      
 \ \/ /___ _ __   |___ / / _ \    _   _ _ __  ___| |_ __ _| |__ | | ___ 
  \  // _ \ '_ \    |_ \| | | |__| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
  /  \  __/ | | |  ___) | |_| |__| |_| | | | \__ \ || (_| | |_) | |  __/
 /_/\_\___|_| |_| |____(_)___/    \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
                                                                        
 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory

 Xen version 3.0-unstable (poff@xxxxxxxxxxxxxx) (gcc version 3.4.1) Sat Nov  4 
11:47:20 EST 2006
 Latest ChangeSet: Tue Oct 24 19:11:00 2006 -0400 12468:9148f7816d00

(XEN) Physical RAM map:
(XEN)   0000000000000000: 0000000020000000
(XEN) End of Xen Area: 39MiB (40528KiB)
(XEN) End of RAM: 512MiB (524288KiB)
(XEN) Xen Heap: 35MiB (36828KiB)
(XEN) Dom Heap: 466MiB (477616KiB)
(XEN) CPU[PIR:0 IPI:0 Logical:0] Hello World!
(XEN) spinning up at most 16 total processors ...
(XEN) Synchronizing timebase
(XEN) CPU[PIR:1 IPI:1 Logical:1] Hello World!
(XEN) Got ack
(XEN) score 299, offset 1000
(XEN) score 299, offset 500
(XEN) score 299, offset 250
(XEN) score 263, offset 125
(XEN) score -291, offset 62
(XEN) score 189, offset 93
(XEN) score -153, offset 77
(XEN) score -49, offset 85
(XEN) score 3, offset 89
(XEN) score -53, offset 87
(XEN) score -57, offset 88
(XEN) Min 88 (score -49), Max 89 (score -1)
(XEN) Final offset: 89 (271/300)
(XEN) xen_mpic_init: start
(XEN) mpic: Setting up MPIC "Xen-U3-MPIC" version 1.2 at f8040000, max 4 CPUs
(XEN) mpic: ISU size: 124, shift: 7, mask: 7f
(XEN) mpic: Initializing for 124 sources
(XEN) mpic: Setting up HT PICs workarounds for U3/U4
(XEN) mpic:   - HT:01.0 [0xb8] vendor 1022 device 7450 has 4 irqs
(XEN) mpic:   - HT:02.0 [0xb8] vendor 1022 device 7450 has 4 irqs
(XEN) mpic:   - HT:03.0 [0xf0] vendor 1022 device 7460 has 24 irqs
(XEN) xen_mpic_init: success
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) WARNING!: Taking all secondary CPUs offline
(XEN) Initializing DART 0xf8033000: tbl: 0000000000200000[0x200] entries: 
0x80000
(XEN) Initializing DART Model U3: reg: 00000000f8033000 word: 200200
(XEN) [0000000000471C00] 0000000000448504 .unimplemented+0x18/0x38
(XEN) [0000000000471C80] 0000000000448A68 .on_selected_cpus+0x38/0x60
(XEN) [0000000000471D00] 00000000004489CC .smp_call_function+0x78/0xa4
(XEN) [0000000000471D90] 0000000000424030 .schedulers_start+0x30/0x54
(XEN) [0000000000471E10] 0000000000455908 .start_of_day+0x148/0x170
(XEN) [0000000000471EB0] 0000000000455CAC .__start_xen+0x37c/0x630
(XEN) [0000000000471F70] 0000000000455FF8 .__start_xen_ppc+0x98/0xb8
(XEN) [0000000000472000] 000000000040004C _start64+0x38/0x3c
(XEN) allocated RMA for Dom[0]: 0x4000000[0x4000000]
(XEN) Scrubbing Free RAM: ......done.
(XEN) Trying Dom0 as 64bit ELF
(XEN) ELF program headers extend beyond end of image.
(XEN) Trying Dom0 as 32bit ELF
(XEN) *** LOADING DOMAIN 0 ***
(XEN) xen_start_info: 0000000007ffe000
(XEN) shared_info: 0x3fff000,0000000007fff000
(XEN) loading OFH: 0x6000000, RMA: 0x2000000
(XEN) loading OFD: 0x6013000 RMA: 0x2013000, 0x30000
(XEN) loading 32-bit Dom0: 0x4400000, in RMA:0x400000
(XEN) DOM: pc = 0x400010, r2 = 0x0
(XEN) Add /openprom props
(XEN) Add /options props
(XEN) Add /cpus props
(XEN) Add /chosen props
(XEN) DOM0 bootargs: root=/dev/hda2 sysrq=1 debug
(XEN) Remove /chosen/mmu, stub will replace
(XEN) fix /memory props
(XEN) Dom0: /memory@0: 0000000000000000, 0000000004000000
(XEN) Dom0: /memory@4000000: 0000000004000000, 0000000008000000
(XEN) fix /xen props
(XEN) Remove original /dart
(XEN) Remove original /rtas
(XEN) Xen trace buffers: disabled
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
Xen).

zImage starting: loaded at 0x00400000 (sp: 0x01ffff90)
Allocating 0x7149b0 bytes for kernel ...
OF version = 'IBM,XenOF0.1'
gunzipping (0x1400000 <- 0x407000:0x6890df)...done 0x688cb0 bytes
OF stdout device is: /xen/console
command line: root=/dev/hda2 sysrq=1 debug
memory layout at init:
  alloc_bottom : 0000000001b19000
  alloc_top    : 0000000004000000
  alloc_top_hi : 000000000c000000
  rmo_top      : 0000000004000000
  ram_top      : 000000000c000000
Looking for displays
0000000000000000 : boot cpu     0000000000000000
copying OF device tree ...
Building dt strings...
Building dt structure...
Device tree strings 0x0000000001b1a000 -> 0x0000000001b1a335
Device tree struct  0x0000000001b1b000 -> 0x0000000001b1d000
Calling quiesce ...
returning from prom_init
xen_start_info at c000000003ffe000
    magic          xen-3.0-powerpc64HV
    flags          3
    shared_info    3fff000, c000000003fff000
    store_mfn      0
    store_evtchn   0
    console_mfn    0
    console_evtchn 0
Hello World I'm Maple Xen-LPAR!
 <- xen_init_early
Starting Linux PPC64 #6 SMP Sat Nov 4 11:41:02 EST 2006
-----------------------------------------------------
ppc64_pft_size                = 0x16
ppc64_interrupt_controller    = 0x1
physicalMemorySize            = 0xc000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address                  = 0x0000000000000000
htab_hash_mask                = 0x7fff
-----------------------------------------------------
Linux version 2.6.17-Xen (poff@lab095) (gcc version 3.4.1) #6 SMP Sat Nov 4 
11:41:02 EST 2006
*** 0000 : CF000012

*** 0000 : Setup Arch
[boot]0012 Setup Arch
Adding PCI host bridge /ht
Found U3-HT PCI host bridge. Firmware bus number: 0->239
PCI Host 0, io start: 0; io end: 3fffff
Using Xen idle loop
*** 0000 : CF000015

*** 0000 : Setup Done
[boot]0015 Setup Done
Built 1 zonelists.  Total pages: 49152
Kernel command line: root=/dev/hda2 sysrq=1 debug
Sharing PIC with Xen
 -> xen_share_maple_init_IRQ
mpic: Setting up MPIC "Xen-U3-MPIC" version 1.2 at f8040000, max 4 CPUs
mpic: ISU size: 124, shift: 7, mask: 7f
mpic: Initializing for 124 sources
mpic: Setting up HT PICs workarounds for U3/U4
mpic:   - HT:01.0 [0xb8] vendor 1022 device 7450 has 4 irqs
mpic:   - HT:02.0 [0xb8] vendor 1022 device 7450 has 4 irqs
mpic:   - HT:03.0 [0xf0] vendor 1022 device 7460 has 24 irqs
 <- xen_share_maple_init_IRQ
PID hash table entries: 1024 (order: 10, 8192 bytes)
time_init: decrementer frequency = 199.839336 MHz
time_init: processor frequency   = 1600.000000 MHz
Maple: Found RTC at IO 0x1070
firmware_features = 0x40000a
Using Xen-Maple machine description
Page orders: linear mapping = 24, virtual = 12, io = 12
Starting Linux PPC64 #6 SMP Sat Nov 4 11:41:02 EST 2006
-----------------------------------------------------
ppc64_pft_size                = 0x16
ppc64_interrupt_controller    = 0x1
physicalMemorySize            = 0xc000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address                  = 0x0000000000000000
htab_hash_mask                = 0x7fff
-----------------------------------------------------
Linux version 2.6.17-Xen (poff@lab095) (gcc version 3.4.1) #6 SMP Sat Nov 4 
11:41:02 EST 2006
*** 0000 : CF000012

*** 0000 : Setup Arch
[boot]0012 Setup Arch
Top of RAM: 0xc000000, Total RAM: 0xc000000
Memory hole size: 0MB
Adding PCI host bridge /ht
Found U3-HT PCI host bridge. Firmware bus number: 0->239
PCI Host 0, io start: 0; io end: 3fffff
Using Xen idle loop
On node 0 totalpages: 49152
  DMA zone: 49152 pages, LIFO batch:15
*** 0000 : CF000015

*** 0000 : Setup Done
[boot]0015 Setup Done
Built 1 zonelists.  Total pages: 49152
Kernel command line: root=/dev/hda2 sysrq=1 debug
Sharing PIC with Xen
mpic: Setting up MPIC "Xen-U3-MPIC" version 1.2 at f8040000, max 4 CPUs
mpic: ISU size: 124, shift: 7, mask: 7f
mpic: Initializing for 124 sources
mpic: Setting up HT PICs workarounds for U3/U4
mpic:   - HT:01.0 [0xb8] vendor 1022 device 7450 has 4 irqs
mpic:   - HT:02.0 [0xb8] vendor 1022 device 7450 has 4 irqs
mpic:   - HT:03.0 [0xf0] vendor 1022 device 7460 has 24 irqs
PID hash table entries: 1024 (order: 10, 8192 bytes)
time_init: decrementer frequency = 199.839336 MHz
time_init: processor frequency   = 1600.000000 MHz
Maple: Found RTC at IO 0x1070
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
freeing bootmem node 0
Memory: 186140k/196608k available (5256k kernel code, 10468k reserved, 1228k 
data, 562k bss, 244k init)
Calibrating delay loop... 398.95 BogoMIPS (lpj=1994752)
Mount-cache hash table entries: 256
Brought up 1 CPUs
smp_xen_setup_cpu(0)
migration_cost=0
arch_gnttab_map: grant table at d000080082016000
setup_grant_area: mempool_create(): failed
kernel BUG in setup_grant_area at 
/home/poff/linux-ppc-2.6-work.hg/arch/powerpc/platforms/xen/gnttab.c:420!
cpu 0x0: Vector: 700 (Program Check) at [c000000000a3fa50]
    pc: c000000000043fc0: .arch_gnttab_map+0x1bc/0x254
    lr: c000000000043fbc: .arch_gnttab_map+0x1b8/0x254
    sp: c000000000a3fcd0
   msr: 8000000000028032
  current = 0xc000000000a31800
  paca    = 0xc00000000052e300
    pid   = 1, comm = swapper
kernel BUG in setup_grant_area at 
/home/poff/linux-ppc-2.6-work.hg/arch/powerpc/platforms/xen/gnttab.c:420!
enter ? for help
0:mon> 

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel