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] [xenppc-unstable] [POWERPC][TOOLS] flatdevtree requires us

> The changeset below solve the ramdisk freeing error we see on DomUs.
> This issue hit Dan consistently so we adjusted his Dom1 script to  
> allocate more memory which allowed his linux to be usable.
> Dan, please pull/rebuild and change your memory back to 64 MiB and  
> see if this solves the big problem you were having and please post  
> results (hopefully closing the bug) in bugzilla.

Yes, this resolves the DomU panic - also no occurences 'Bad page state...' 
Thanks.


Here is console of DomU, 64mb:

Script started on Sun Sep 17 15:06:58 2006
lab082:~ # xm list
/usr/lib/python2.4/xmllib.py:9: DeprecationWarning: The xmllib module is 
obsolete.  Use xml.sax instead.
  warnings.warn("The xmllib module is obsolete.  Use xml.sax instead.", 
DeprecationWarning)
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      192     1 r-----   143.9

lab082:~ # xm create -c dom1
Using config file "/etc/xen/dom1".
/usr/lib/python2.4/xmllib.py:9: DeprecationWarning: The xmllib module is 
obsolete.  Use xml.sax instead.
  warnings.warn("The xmllib module is obsolete.  Use xml.sax instead.", 
DeprecationWarning)
Started domain S-1158520031.61
xen_start_info at c000000003ffc000
    magic          xen-3.0-powerpc64HV
    flags          0
    shared_info    3fff000, c000000003fff000
    store_mfn      3ffe
    store_evtchn   1
    console_mfn    3ffd
    console_evtchn 2
Hello World I'm Maple Xen-LPAR!
 <- xen_init_early
Starting Linux PPC64 #1 SMP Fri Sep 15 14:50:47 EDT 2006
-----------------------------------------------------
ppc64_pft_size                = 0x14
ppc64_interrupt_controller    = 0x1
physicalMemorySize            = 0x4000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address                  = 0x0000000000000000
htab_hash_mask                = 0x1fff
-----------------------------------------------------
Linux version 2.6.17-Xen (poff@lab095) (gcc version 3.4.1) #1 SMP Fri Sep 15 
14:50:47 EDT 2006
*** 0000 : CF000012

*** 0000 : Setup Arch
[boot]0012 Setup Arch
Using Xen idle loop
*** 0000 : CF000015

*** 0000 : Setup Done
[boot]0015 Setup Done
Built 1 zonelists.  Total pages: 16384
Kernel command line:  xencons=tty128 console=tty128
PID hash table entries: 512 (order: 9, 4096 bytes)
firmware_features = 0x40000a
Using Xen-Maple machine description
Found initrd at 0xc000000001800000:0xc000000001b10648
Starting Linux PPC64 #1 SMP Fri Sep 15 14:50:47 EDT 2006
-----------------------------------------------------
ppc64_pft_size                = 0x14
ppc64_interrupt_controller    = 0x1
physicalMemorySize            = 0x4000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address                  = 0x0000000000000000
htab_hash_mask                = 0x1fff
-----------------------------------------------------
Linux version 2.6.17-Xen (poff@lab095) (gcc version 3.4.1) #1 SMP Fri Sep 15 
14:50:47 EDT 2006
*** 0000 : CF000012

*** 0000 : Setup Arch
[boot]0012 Setup Arch
Using Xen idle loop
*** 0000 : CF000015

*** 0000 : Setup Done
[boot]0015 Setup Done
Built 1 zonelists.  Total pages: 16384
Kernel command line:  xencons=tty128 console=tty128
PID hash table entries: 512 (order: 9, 4096 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Memory: 54188k/65536k available (5276k kernel code, 11284k reserved, 1212k 
data, 456k bss, 236k init)
Mount-cache hash table entries: 256
Brought up 1 CPUs
smp_xen_setup_cpu(0)
migration_cost=0
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 3137k freed
grant table at c000000000708000
Grant table initialized
NET: Registered protocol family 16
*** 0000 : Linux ppc64

*** 0000 : 2.6.17-Xen
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 3, 32768 bytes)
TCP bind hash table entries: 1024 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
rtas_flash: no firmware flash support
scan-log-dump not implemented on this system
Initializing Cryptographic API
io scheduler noop registered
io scheduler deadline registered (default)
Generic RTC Driver v1.07
RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize
loop: loaded (max 8 devices)
Intel(R) PRO/1000 Network Driver - version 7.0.38-k4
Copyright (c) 1999-2006 Intel Corporation.
Xen virtual console successfully installed as tty128
Event-channel device installed.
blkif_init: reqs=64, pages=704, mmap_vstart=0xc000000001c00000
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ipr: IBM Power RAID SCSI Device Driver version: 2.1.3 (March 29, 2006)
scsi0 : scsi_debug, version 1.75 [20050113], dev_size_mb=8, opts=0x0
  Vendor: Linux     Model: scsi_debug        Rev: 0004
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 16384 512-byte hdwr sectors (8 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
SCSI device sda: 16384 512-byte hdwr sectors (8 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
 sda: unknown partition table
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
usbmon: debugfs is not available
USB Universal Host Controller Interface driver v3.0
usbcore: registered new driver usbhid
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/input/hid-core.c: v2.6:USB HID 
core driver
pegasus: v0.6.13 (2005/11/13), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new driver pegasus
usbcore: registered new driver usbserial
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/usb-serial.c: USB Serial 
support registered for generic
usbcore: registered new driver usbserial_generic
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/usb-serial.c: USB Serial 
Driver core
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/usb-serial.c: USB Serial 
support registered for DeLorme Earthmate USB
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/usb-serial.c: USB Serial 
support registered for HID->COM RS232 Adapter
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/usb-serial.c: USB Serial 
support registered for Nokia CA-42 V2 Adapter
usbcore: registered new driver cypress
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/cypress_m8.c: Cypress USB 
to Serial Driver v1.09
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/usb-serial.c: USB Serial 
support registered for Garmin GPS usb/tty
usbcore: registered new driver garmin_gps
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/garmin_gps.c: garmin gps 
driver v0.23
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/usb-serial.c: USB Serial 
support registered for IPWireless converter
usbcore: registered new driver ipwtty
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/ipw.c: IPWireless tty 
driver v0.3
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/usb-serial.c: USB Serial 
support registered for Keyspan - (without firmware)
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/usb-serial.c: USB Serial 
support registered for Keyspan 1 port adapter
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/usb-serial.c: USB Serial 
support registered for Keyspan 2 port adapter
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/usb-serial.c: USB Serial 
support registered for Keyspan 4 port adapter
usbcore: registered new driver keyspan
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/keyspan.c: v1.1.4:Keyspan 
USB to Serial Converter Driver
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/usb-serial.c: USB Serial 
support registered for TI USB 3410 1 port adapter
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/usb-serial.c: USB Serial 
support registered for TI USB 5052 2 port adapter
usbcore: registered new driver ti_usb_3410_5052
/home/poff/linux-ppc-2.6-work.hg/drivers/usb/serial/ti_usb_3410_5052.c: TI USB 
3410/5052 Serial Driver v0.9
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
Ebtables v2.0 registered
ebt_ulog: not logging via ulog since somebody else already registered for 
PF_BRIDGE
802.1Q VLAN Support v1.8 Ben Greear <greearb@xxxxxxxxxxxxxxx>
All bugs added by David S. Miller <davem@xxxxxxxxxx>
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 236k freed
INIT: version 2.84 booting



                   Welcome to the XenPPC Linux Boot Image 


For more info please see: http://wiki.xensource.com/xenwiki/XenPPC
This ramdisk was created from scratch

Remounting filesystem read write.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
Mounting proc filesystem.
To mount the swap filesystem type: swapon -a

Creating shared library cache
config loopback
RTNETLINK answers: File exists
netcat(nc) is installed for you testing pleasure
INIT: Entering runlevel: 5
]0;user@bringup: /[user@bringup /]# ls
bin  dev  etc  include  lib  lost+found  mnt  proc  sbin  tmp  usr  var
]0;user@bringup: /[user@bringup /]# lab082:~ # 
lab082:~ # exit

Script done on Sun Sep 17 15:07:58 2006

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