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

[XenPPC] DomU panic when accessing ramdisk

Following the wiki for creating a domain, and using ramdisk.image.gz from Amos,
usually get the following panic... DomU is then repeatedly restarted, see xm 
list
also console output at end.

One time I got the 'Bad page state in process 'swapper''... as described in 
wiki.
However, the 'Bad page' dump kept repeating and after a couple pages, the system
froze.


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-1160846930.28
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 Wed Sep 6 16:23:48 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 Wed Sep 6 
16:23:48 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:0xc000000001b11532
Starting Linux PPC64 #1 SMP Wed Sep 6 16:23:48 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 Wed Sep 6 
16:23:48 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: 57324k/65536k available (5276k kernel code, 8144k 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: 3141k freed
Bad page state in process 'swapper'
page:c000000000740000 flags:0x0000100000080000 mapping:0000000000000000 
mapcount:0 count:0
Trying to fix it up, but a reboot is needed
Backtrace:
Call Trace:
[C0000000007FBB90] [C00000000000F2BC] .show_stack+0x50/0x1cc (unreliable)
[C0000000007FBC40] [C00000000007D770] .bad_page+0x70/0xc8
[C0000000007FBCD0] [C00000000007E0BC] .free_hot_cold_page+0x1a4/0x1a8
[C0000000007FBD70] [C00000000002EE24] .free_initrd_mem+0x138/0x180
[C0000000007FBE20] [C0000000004F35CC] .free_initrd+0x74/0x13c
[C0000000007FBEC0] [C000000000009320] .init+0x15c/0x438
[C0000000007FBF90] [C000000000025BDC] .kernel_thread+0x4c/0x68
grant table at c000000000474000
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=0xc000000003000000
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
Unable to handle kernel paging request for data at address 0x00200200
Faulting instruction address: 0xc00000000007de34
Oops: Kernel access of bad area, sig: 11 [#1]
SMP NR_CPUS=32
NIP: C00000000007DE34 LR: C00000000007E810 CTR: C000000000217B9C
REGS: c0000000007fa9e0 TRAP: 0300   Tainted: G    B  (2.6.17-Xen)
MSR: 8000000000001032 <ME,IR,DR>  CR: 24422524  XER: 60055555
DAR: 0000000000200200, DSISR: 0000000042000000
TASK = c0000000007f67e0[1] 'swapper' THREAD: c0000000007f8000 CPU: 0
GPR00: 000000000000000C C0000000007FAC60 C000000000658050 C000000000740000
GPR04: 000000000000000B C000000000540A10 0000000000100100 C000000000540A10
GPR08: 0000000000000000 0000000000100100 C000000000740028 0000000000200200
GPR12: 0000000000200200 C000000000533200 0000000000000000 0000000000000000
GPR16: 0000000000000001 0000000000000000 0000000000020030 0000000000000044
GPR20: 0000000000000001 0000000000000000 C000000000544480 0000000000000000
GPR24: 0000000000000001 0000000000000003 8000000000009032 0000000000000002
GPR28: 0000000000000001 0000000000000001 C00000000053F880 0000000000000000
NIP [C00000000007DE34] .__rmqueue+0x9c/0x180
LR [C00000000007E810] .get_page_from_freelist+0x4f4/0x564
Call Trace:
[C0000000007FAC60] [C0000000007FAD00] 0xc0000000007fad00 (unreliable)
[C0000000007FAD60] [C00000000007E90C] .__alloc_pages+0x8c/0x338
[C0000000007FAE50] [C00000000007AA00] .generic_file_buffered_write+0x184/0x864
[C0000000007FAFF0] [C00000000007B6F0] 
.__generic_file_aio_write_nolock+0x2b8/0x484
[C0000000007FB120] [C00000000007BD68] .generic_file_aio_write_nolock+0x30/0xd4
[C0000000007FB1B0] [C00000000007BE90] .generic_file_write_nolock+0x84/0xd0
[C0000000007FB310] [C0000000000B3E10] .blkdev_file_write+0x20/0x34
[C0000000007FB3A0] [C0000000000A6D84] .vfs_write+0xc4/0x1ec
[C0000000007FB430] [C0000000000A6F88] .sys_write+0x4c/0x90
[C0000000007FB4D0] [C0000000004EDA80] .flush_window+0x40/0x120
[C0000000007FB560] [C0000000004EE294] .inflate_codes+0x630/0x65c
[C0000000007FB670] [C0000000004EECA4] .inflate_dynamic+0x820/0x84c
[C0000000007FBC80] [C0000000004EFFBC] .rd_load_image+0x12e8/0x1300
[C0000000007FBDA0] [C0000000004F0224] .initrd_load+0x58/0x3b8
[C0000000007FBE30] [C0000000004ED214] .prepare_namespace+0xc0/0x18c
[C0000000007FBEC0] [C0000000000095B0] .init+0x3ec/0x438
[C0000000007FBF90] [C000000000025BDC] .kernel_thread+0x4c/0x68
Instruction dump:
38600000 eb81ffe0 eba1ffe8 ebc1fff0 ebe1fff8 4e800020 e92a0000 e96a0008
7c8407b4 386affd8 7ca72b78 7f84f800 <f92b0000> f9690008 7f892030 e80affd8
 <0>Kernel panic - not syncing: Attempted to kill init!
 <0>Rebooting in 180 seconds..lab082:~ #


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-----   118.7
S-1160872824.52                    3       64     1 ------    22.4
Zombie-S-1160872824.52             1       64     1 ---s-d   179.7
Zombie-S-1160872824.52             2       64     1 ---s-d   179.6
lab082:~ 



Welcome to SUSE Linux Enterprise Server 10 (ppc) - Kernel 2.6.17-Xen (console).


lab082 login: (XEN) shadow_set_allocation: ibm,fpt-size should be: 0x14
(XEN) clearing RMA: 0x18000000[0x4000000]
(XEN) Domain[1].0: initializing
(XEN) shadow_set_allocation: ibm,fpt-size should be: 0x14
(XEN) clearing RMA: 0x14000000[0x4000000]
(XEN) Domain[2].0: initializing
(XEN) shadow_set_allocation: ibm,fpt-size should be: 0x14
(XEN) clearing RMA: 0x10000000[0x4000000]
(XEN) Domain[3].0: initializing
#

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

<Prev in Thread] Current Thread [Next in Thread>