Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 2009 16:30:43 +0200
From:      Zahemszky =?ISO-8859-2?Q?G=E1bor?= <Gabor@Zahemszky.HU>
To:        Marcel Moolenaar <xcllnt@mac.com>
Cc:        freebsd-stable@freebsd.org, ia64@freebsd.org
Subject:   Re: IA64 7.2-RC2 in HP Integrity Virtual Machine
Message-ID:  <20090506163043.0aad883b@Picasso.Zahemszky.HU>
In-Reply-To: <DA7392F4-F624-487D-950E-0EF016B5FF41@mac.com>
References:  <20090429063852.26767.qmail@mail.integrity.hu> <DA7392F4-F624-487D-950E-0EF016B5FF41@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
> I believe there's a problem with mpt(4) that relates to
> its error recovery, or lack thereof.
> 
> Can you send a backtrace so that we can confirm or de-
> bunk that statement?

Hi!

here it is. (sorry for the ESC-sequences, it is the virtual machine's
EFI boot loader)

Attached.

Gábor < Gabor at Zahemszky dot HU >

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!';
IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';
set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;
[[ $i = ??? ]]&&j=$i&&i=${i%?};
typeset -i40 i=8#$i;print -n ${i#???};
[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};
IFS=' 0123456789 ';set -- $Z;for i;{ [[ $i = , ]]&&i=2;
[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j"

[-- Attachment #2 --]
Script started on Wed May  6 14:40:41 2009
# hpvmstatus -p 20
[Virtual Machine Details]
Virtual Machine Name VM #  OS Type State
==================== ===== ======= ========
bud-saabi               20 WINDOWS Off       

[Authorized Administrators]
Oper Groups             : 
Admin Groups            : 
Oper Users              : 
Admin Users             : 

[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
     1       10.0%  100.0% 

[Memory Details]
Total    Reserved
Memory   Memory  
=======  ========
   2 GB     64 MB 

[Storage Interface Details]
Guest                                 Physical
Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device
======= ========== === === === === === ========= =========================
disk    scsi         0   0   0   0   0 disk      /dev/rdisk/disk15
dvd     scsi         0   0   0   1   0 file      /var/opt/hpvm/ISO-images/linux/7.2-RELEASE-ia64-bootonly.iso

[Network Interface Details]
Interface Adaptor    Name/Num   PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch   lan        vs_lan2    5         0   1   0 42-b8-45-0c-99-be

[Misc Interface Details]
Guest                                 Physical
Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device
======= ========== === === === === === ========= =========================
serial  com1                           tty       console
# hpvmstart -p 20
(C) Copyright 2000 - 2009 Hewlett-Packard Development Company, L.P.
Opening minor device and creating guest machine container
Creation of VM, minor device 5
Allocating guest memory: 2048MB
  allocating low RAM (0-80000000, 2048MB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/eaf6d878-e7ab-11dd-a302-001e0b450900/vmm_config.current): Allocated 2147483648 bytes at 0x6000000100000000
    locking memory: 0-80000000
  allocating datalogger memory: FF800000-FF810000 (64KB for 12KB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/eaf6d878-e7ab-11dd-a302-001e0b450900/vmm_config.current): Allocated 65536 bytes at 0x6000000200000000
    locking datalogger memory
  allocating firmware RAM (fff00000-fff20000, 128KB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/eaf6d878-e7ab-11dd-a302-001e0b450900/vmm_config.current): Allocated 131072 bytes at 0x6000000200020000
    locked SAL RAM: 00000000fff00000 (8KB)
    locked ESI RAM: 00000000fff02000 (8KB)
    locked PAL RAM: 00000000fff04000 (8KB)
    locked Min Save State: 00000000fff06000 (4KB)
    locked datalogger: 00000000ff800000 (64KB)
Loading boot image
Image initial IP=102000 GP=686000
Initialize guest memory mapping tables
Starting event polling thread
Starting thread initialization
Daemonizing....
hpvmstart: Successful start initiation of guest 'bud-saabi'
# hpvmconsole -p 20


   vMP MAIN MENU

         CO: Console
         CM: Command Menu
         CL: Console Log
         SL: Show Event Logs
         VM: Virtual Machine Menu
         HE: Main Help Menu
          X: Exit Connection

[bud-saabi] vMP> co



        (Use Ctrl-B to return to vMP main menu.)



- - - - - - - - - - Prior Console Output - - - - - - - - - -

Loading.: Auxiliary Floating Point Driver
Starting: Auxiliary Floating Point Driver
Start of Auxiliary Floating Point Driver failed: Already started

EFI Boot Manager ver 1.10 [14.62] [Build: Mon Nov  3 14:18:56 2008]

Please select a boot option
Windows Server 2003, Enterprise                                 EFI Shell [Built-in]                                            Boot option maintenance menu                                    Use ^ and v to change option(s). Use Enter to select an option
Boot option maintenance menu                                    Windows Server 2003, Enterprise                                 Default boot selection will be booted in 30 seconds  Default boot selection will be booted in 29 seconds  Default boot selection will be booted in 28 seconds  Default boot selection will be booted in 27 seconds  Default boot selection will be booted in 26 seconds  
- - - - - - - - - - - - Live Console - - - - - - - - - - - -
Default boot selection will be booted in 25 seconds                                                                  Windows Server 2003, Enterprise                                 EFI Shell [Built-in]                                                                                                            EFI Shell [Built-in]                                            
Loading.: EFI Shell [Built-in]
EFI Shell version 1.10 [14.62]
Device mapping table
  fs0  : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig449D6BE0-C80C-01C9-92E0-3C772E43AC40)
  fs1  : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)/CDROM(Entry0)
  blk0 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)
  blk1 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig449D6BE0-C80C-01C9-92E0-3C772E43AC40)
  blk2 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)/HD(Part2,Sig44A81A40-C80C-01C9-507B-9E5F8078F531)
  blk3 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)/HD(Part3,Sig4E5AB520-C80C-01C9-F1B3-12714F758821)
  blk4 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)
  blk5 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)/CDROM(Entry0)
Shell> fs1:  

fs1:\> dir  
Directory of: fs1:\

  05/02/09  04:04a <DIR>          8,192  efi
  05/02/09  04:04a <DIR>          8,192  boot
          0 File(s)           0 bytes
          2 Dir(s)


fs1:\> dir boot  
Directory of: fs1:\boot

  05/02/09  04:04a <DIR>          8,192  .
  05/02/09  04:04a <DIR>              0  ..
  05/02/09  04:04a <DIR>          8,192  kernel
  05/02/09  04:04a <DIR>          8,192  defaults
  05/02/09  04:04a       r          117  device.hints
  05/02/09  04:04a       r          360  loader.rc
  05/02/09  04:04a       r       13,320  loader.help
  05/02/09  04:04a                   72  loader.conf
  05/02/09  04:04a       r        5,865  loader.4th
  05/02/09  04:04a            1,895,807  mfsroot.gz
  05/02/09  04:04a       r       35,136  support.4th
          7 File(s)   1,950,677 bytes
          4 Dir(s)


fs1:\> dir efi  
Directory of: fs1:\efi

  05/02/09  04:04a <DIR>          8,192  .
  05/02/09  04:04a <DIR>              0  ..
  05/02/09  04:04a <DIR>          8,192  boot
          0 File(s)           0 bytes
          3 Dir(s)


fs1:\> dir efi\boot  
Directory of: fs1:\efi\boot

  05/02/09  04:04a <DIR>          8,192  .
  05/02/09  04:04a <DIR>          8,192  ..
  05/02/09  04:04a       r      579,475  bootia64.efi
          1 File(s)     579,475 bytes
          2 Dir(s)


fs1:\> efi\boot\bootia64.efi  
Consoles: EFI console  
Image base: 0x000000007ef6d000

FreeBSD/ia64 EFI boot, Revision 1.2
(root@pluto1.freebsd.org, Fri May  1 17:16:57 UTC 2009)
|/Loading /boot/defaults/loader.conf 
-\|/-\|//boot/kernel/kernel text=0xb4fb28 data=0xaccc8+0x45190 syms=[0x8+0x817f8+0x8+0x711bf]
-\|/
Hit [Enter] to boot immediately, or any other key for command prompt.

Booting [/boot/kernel/kernel] in 9 seconds... 
Booting [/boot/kernel/kernel] in 8 seconds... 

Type '?' for a list of commands, 'help' for more detailed help.
OK set boot_verbose=1
OK autoboot=1
autoboot=1 not found
OK autoboot 1
Hit [Enter] to boot immediately, or any other key for command prompt.

Booting [/boot/kernel/kernel]...               
-\Entering /boot/kernel/kernel at 0xe000000004078000...
PAL Proc at 0xe0000000fff04000
SAL Proc at 0xe0000000fff00000, GP at 0xe0000000fff17000
SAL: AP wake-up vector: 0xee
Platform clock frequency 266141700 Hz
Processor ratio 1600/267, Bus ratio 1/1, ITC ratio 6/4
ptc.e base=0x0, count1=1, count2=1, stride1=0x0, stride2=0x0
Processor supports 21 Region ID bits
Trying VHPT size 0x800000
Putting VHPT at 0x800000
Splitting [0x634000-0x4000000]
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.2-RELEASE #0: Sat May  2 02:57:53 UTC 2009
    root@pluto1.freebsd.org:/usr/obj/usr/src/sys/GENERIC
UNWIND: table added: base=e000000004000000, start=e000000004b14380, end=e000000004b4fb28
Preloaded elf kernel "/boot/kernel/kernel" at 0xe000000005536820.
Preloaded mfs_root "/boot/mfsroot" at 0xe0000000055368f0.
CPU: unknown (1594.86-Mhz Itanium 2)
  Origin = "GenuineIntel"  Revision = 1
  Features = 0xd<LB,AO>
real memory  = 2133860352 (2035 MB)
Physical memory chunk(s):
0x03800000 - 0x03ffffff, 8388608 bytes (1024 pages)
0x05538000 - 0x7d1c7fff, 2009661440 bytes (245320 pages)
0x7effe000 - 0x7f453fff, 4546560 bytes (555 pages)
0x7f802000 - 0x7f8adfff, 704512 bytes (86 pages)
0x7f9fe000 - 0x7fd2dfff, 3342336 bytes (408 pages)
0x7fdfe000 - 0x7fe3dfff, 262144 bytes (32 pages)
0x7fe7e000 - 0x7ffb9fff, 1294336 bytes (158 pages)
avail memory = 2016059392 (1922 MB)
FPSWA Revision = 0x10012, Entry = 0xe00000007fd7a050
Table 'FACP' at 0xe000000000026b40
Table 'APIC' at 0xe000000000025388
	Local APIC address=0xfee00000
	Local SAPIC entry
		ProcessorId=0x0, Id=0x0, Eid=0x0
	I/O SAPIC entry
		Id=0x0, InterruptBase=0x0, Address=0xfec00000
Table 'SPCR' at 0xe000000000026c38
Table 'SPMI' at 0xe000000000026c88
Table 'CPEP' at 0xe000000000026cc8
MCA: allocated 8192 bytes for state info.
mem: <memory>
null: <null device, zero device>
nfslock: pseudo-device
random: <entropy source, Software, Yarrow>
ACPI: RSDP @ 0x0x26d88/0x0028 (v  2   _HP_)
ACPI: XSDT @ 0x0x26d38/0x004C (v  2   _HP_     VMM  0x00000000 _HP_ 0x00000000)
ACPI: FACP @ 0x0x26b40/0x00F4 (v  3   _HP_     VMM  0x00000000 _HP_ 0x00000000)
ACPI: DSDT @ 0x0x253d0/0x172B (v  1     HP     HPVM 0x00000000 INTL 0x20060912)
ACPI: FACS @ 0x0x26b00/0x0040
ACPI: APIC @ 0x0x25388/0x0048 (v  2   _HP_     VMM  0x00000000 _HP_ 0x00000000)
ACPI: SPCR @ 0x0x26c38/0x0050 (v  2   _HP_     VMM  0x00000000 _HP_ 0x00000000)
ACPI: SPMI @ 0x0x26c88/0x0040 (v  2   _HP_     VMM  0x00000000 _HP_ 0x00000000)
ACPI: CPEP @ 0x0x26cc8/0x0034 (v  1   _HP_     VMM  0x00000000 _HP_ 0x00000000)
acpi0: <_HP_> on motherboard
acpi0: [MPSAFE]
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
unknown: I/O range not supported
ACPI timer: 0/52 0/144 0/162 0/75 0/77 0/196 0/40 0/81 0/98 0/131 -> 0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0xa08-0xa0b on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: domain=0, physical bus=0
found->	vendor=0x1000, dev=0x0030, revid=0x07
	domain=0, bus=0, slot=0, func=0
	class=01-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0007, statreg=0x0220, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x10 (4000 ns), maxlat=0x06 (1500 ns)
	intpin=a, irq=0
	map[10]: type I/O Port, range 32, base 0x8000, size  8, enabled
	map[14]: type Memory, range 64, base 0xa0000000, size 10, enabled
	map[1c]: type Memory, range 64, base 0xa0010000, size 16, enabled
pcib0: matched entry for 0.0.INTA
pcib0: slot 0 INTA hardwired to IRQ 16
found->	vendor=0x8086, dev=0x100e, revid=0x00
	domain=0, bus=0, slot=1, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0006, statreg=0x0220, cachelnsz=0 (dwords)
	lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0xff (63750 ns)
	intpin=a, irq=0
	map[10]: type Memory, range 64, base 0xa0020000, size 17, enabled
	map[18]: type Memory, range 64, base 0xa0040000, size 16, enabled
	map[20]: type I/O Port, range 32, base 0x8100, size  3, port disabled
pcib0: matched entry for 0.1.INTA
pcib0: slot 1 INTA hardwired to IRQ 17
found->	vendor=0x8086, dev=0x7600, revid=0x01
	domain=0, bus=0, slot=3, func=0
	class=06-01-00, hdrtype=0x00, mfdev=1
	cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[10]: type I/O Port, range 32, base 0, size  2, enabled
	map[14]: type Memory, range 32, base 0, size 12, enabled
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0x8000-0x80ff mem 0xa0000000-0xa00003ff,0xa0010000-0xa001ffff irq 16 at device 0.0 on pci0
mpt0: Reserved 0x100 bytes for rid 0x10 type 4 at 0x8000
mpt0: Reserved 0x400 bytes for rid 0x14 type 3 at 0xa0000000
mpt0: [MPSAFE]
mpt0: [ITHREAD]
mpt0: MPI Version=1.2.0.0
mpt0: No Handlers For Any Event Notify Frames. Event 0xa (ACK not required).
mpt0: No Handlers For Any Event Notify Frames. Event 0xa (ACK not required).
em0: <Intel(R) PRO/1000 Network Connection 6.9.6> port 0x8100-0x8107 mem 0xa0020000-0xa003ffff,0xa0040000-0xa004ffff irq 17 at device 1.0 on pci0
em0: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xa0020000
em0: failed to enable port mapping!
em0: Unable to allocate bus resource: ioport
em0: Allocation of PCI resources failed
device_attach: em0 attach returned 6
pci0: <bridge, PCI-ISA> at device 3.0 (no driver attached)
pcib1: <ACPI Host-PCI bridge> on acpi0
pci1: <ACPI PCI bus> on pcib1
pci1: domain=0, physical bus=1
pcib2: <ACPI Host-PCI bridge> on acpi0
pci2: <ACPI PCI bus> on pcib2
pci2: domain=0, physical bus=2
pcib3: <ACPI Host-PCI bridge> on acpi0
pci3: <ACPI PCI bus> on pcib3
pci3: domain=0, physical bus=3
pcib4: <ACPI Host-PCI bridge> on acpi0
pci4: <ACPI PCI bus> on pcib4
pci4: domain=0, physical bus=4
pcib5: <ACPI Host-PCI bridge> on acpi0
pci5: <ACPI PCI bus> on pcib5
pci5: domain=0, physical bus=5
pcib6: <ACPI Host-PCI bridge> on acpi0
pci6: <ACPI PCI bus> on pcib6
pci6: domain=0, physical bus=6
pcib7: <ACPI Host-PCI bridge> on acpi0
pci7: <ACPI PCI bus> on pcib7
pci7: domain=0, physical bus=7
cpu0: <ACPI CPU> on acpi0
cpu0: switching to generic Cx mode
procfs registered
Timecounters tick every 1.000 msec
lo0: bpf attached
Waiting 5 seconds for SCSI devices to settle
(xpt0:mpt0:0:-1:-1): reset bus

fatal kernel trap (cpu 0):

    trap vector = 0x14 (Page Not Present)
    cr.iip      = 0xe000000004a1dba0
    cr.ipsr     = 0x1010080a2010 (mfl,ic,dt,dfh,rt,cpl=0,it,ri=0,bn)
    cr.isr      = 0x80400000000 (code=0,vector=0,r,ei=0,ed)
    cr.ifa      = 0x1
    curthread   = 0xe000000004c1fa40
        pid = 0, comm = swapper

[thread pid 0 tid 0 ]
Stopped at      pmap_switch+0x120:      [M0]    ld4 r14=[r17],0x4
db> trace  
Tracing pid 0 tid 0 td 0xe000000004c1fa40
pmap_switch(0xe000000004c1fe90, 0xe000000004c43cb8) at pmap_switch+0x120
cpu_switch(0xa000000030579780, 0xe000000010438ab0, 0xe000000004b6b780, 0xe0000000045d93d0, 0x400000000000048e) at cpu_switch+0xb0
sched_switch(0xe000000004c1fa40, 0xe000000010438ab0, 0x1) at sched_switch+0x3d0
mi_switch(0x1, 0x0, 0xe000000004c1fa40) at mi_switch+0x300
sleepq_switch(0xe000000004bb62a8, 0xe000000004c1fa40, 0xe000000004c2dda0, 0xe0000000045ff890) at sleepq_switch+0x230
sleepq_timedwait(0xe000000004bb62a8, 0xe000000004c1fa40, 0xe0000000045a31f0, 0x4000000000000815, 0xe000000004c1fa40) at sleepq_timedwait+0x60
_sleep(0xe000000004bb62a8, 0xe000000004c2b410, 0x60, 0xe000000004a90900, 0x1) at _sleep+0x5f0
run_interrupt_driven_config_hooks(0xe000000004c2b430, 0xe000000004c2b430) at run_interrupt_driven_config_hooks+0x260
mi_startup(0xe000000004bde160, 0xe000000004bff828, 0xe000000004bff830, 0xe000000004bff820, 0xe000000004bff838, 0xe000000004bdcc98, 0xe000000004bb0258, 0xe000000004a159e0) at mi_startup+0x260
ia64_init(0xe000000004c1fc90) at ia64_init+0xec0
__start() at __start+0xa0
db> show reg  
ip          0xe000000004a1dba0  pmap_switch+0x120
cr.ifs      0x8000000000000306
cr.ifa             0x1
ar.bspstore 0xe000000004b64278  kstack+0x278
ndirty            0x60
rp          0xe000000004a1daa0  pmap_switch+0x20
ar.pfs      0x4000000000000306
psr         0x1010080a2010
cr.isr      0x80400000000
pr             0x29a41
ar.rsc             0x7
ar.rnat              0
ar.unat              0
ar.fpsr     0x9804c8a70033f
gp          0xe000000004ddf9f0  __gp
sp          0xe000000004b6b490  kstack+0x7490
tp          0xe000000004c43130  pcpu0
b6          0xe000000004155280  acpi_timer_get_timecount_safe
b7            0x444b00
r2                   0
--More--
        
r3           0xd540000
r8                   0
r9                0xff
r10                  0
r11                  0
r14              0x835  intr_n+0x735
r15         0x2000000000000000
r16                0x1
r17                0x1
r18            0x29a41
r19                  0
r20         0xe000000004c1fcc0  thread0+0x280
r21         0xe000000010524808
r22                  0
r23                  0
r24                  0
r25                  0
r26                0x1
r27                  0
r28                  0
--More--
        
r29         0xe000000004c18a14  random_state+0x16c
r30         0xe000000004b6b810  kstack+0x7810
r31         0xe000000004b6b9a0  kstack+0x79a0
pmap_switch+0x120:      [M0]    ld4 r14=[r17],0x4
db>   

   vMP MAIN MENU

         CO: Console
         CM: Command Menu
         CL: Console Log
         SL: Show Event Logs
         VM: Virtual Machine Menu
         HE: Main Help Menu
          X: Exit Connection

[bud-saabi] vMP> x
# 

script done on Wed May  6 14:43:03 2009

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090506163043.0aad883b>