Does anyone have any suggestions on how to recover an Ubuntu VM that doesn’t 
boot under SmartOS?  I’m interested in extracting the data.  The Ubuntu 
filesystem is ext4.

 

Thanks!

Dave

 

 

From: David Kelbley [mailto:[email protected]] 
Sent: Wednesday, February 04, 2015 3:04 PM
To: 'smartos-discuss'
Subject: SmartOS and vmadm create

 

I imported a custom built image from an old ZFS clone.  The imgadm import went 
fine.  However, when the VM begins to start I receive following messages (note: 
 XXXXXXXX replaces the info) below.  Is there a way to determine why the VM 
fails to start?  When I connect to the console I receive the following error 
message:

 

Error:  no suitable mode found.

Error:  unknown command `terminal’.

Out of range pointer 0x80220000

Aborted.  Press any key to exit.

 

The KVM is Ubuntu 11.20.

 

Thanks!

Dave

 

 

 

vm.startvm.log

+ [[ -x /startvm.zone ]]

+ exec /smartdc/bin/qemu-exec /smartdc/bin/qemu-system-x86_64 -m 4096 -name 
ed234e4a-7031-439a-9338-01874462ded0 -uuid ed234e4a-7031-439a-9338-01874462ded0 
-cpu qemu64 -smp 2 -drive 
file=/dev/zvol/rdsk/zones/ed234e4a-7031-439a-9338-01874

462ded0-disk0,if=virtio,index=0,media=disk,boot=on -boot order=cd -device 
virtio-net-pci,mac=62:43:0b:1c:8e:a2,tx=timer,x-txtimer=200000,x-txburst=128,vlan=0
 -net vnic,name=net0,vlan=0,ifname=net0,ip=XXXXXXXXXXX,netmask=255.255..0,gat

eway_ip=XXXXXXXX,hostname=XXXXXXX,dns_ip0=XXXXXdns_ip1=XXXXXXXX -smbios 
'type=1,manufacturer=Joyent,product=SmartDC 
HVM,version=7.20141030T164802Z,serial=ed234e4a-7031-439a-9338-01874462ded0,uuid=ed234e4a-7031-439a-9338-01

874462ded0,sku=001,family=Virtual Machine' -pidfile /tmp/vm.pid -vga std 
-chardev socket,id=qmp,path=/tmp/vm.qmp,server,nowait -qmp chardev:qmp -chardev 
socket,id=serial0,path=/tmp/vm.console,server,nowait -serial chardev:serial0 
-charde

v socket,id=serial1,path=/tmp/vm.ttyb,server,nowait -serial chardev:serial1 
-vnc unix:/tmp/vm.vnc -parallel none -usb -usbdevice tablet -k en-us

/tmp/vm.log.8: No such file or directory

/tmp/vm.log.7: No such file or directory

/tmp/vm.log.6: No such file or directory

/tmp/vm.log.5: No such file or directory

/tmp/vm.log.4: No such file or directory

/tmp/vm.log.3: No such file or directory

/tmp/vm.log.2: No such file or directory

/tmp/vm.log.1: No such file or directory

/tmp/vm.log.0: No such file or directory

/tmp/vm.log: No such file or directory

 

vm.log

enter handle_18:

  NULL

Booting from DVD/CD...

Device reports MEDIUM NOT PRESENT

atapi_is_ready returned -1

Boot failed: Could not read from CDROM (code 0003)

enter handle_18:

  NULL

No bootable device.

Start bios (version 0.6.1.2-20110201_165504-titi)

Ram Size=0xe0000000 (0x0000000020000000 high)

CPU Mhz=2927

PCI: pci_bios_init_bus_rec bus = 0x0

PIIX3/PIIX4 init: elcr=00 0c

PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237

PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000

PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010

region 4: 0x0000c000

PCI: bus=0 devfn=0x0a: vendor_id=0x8086 device_id=0x7020

region 4: 0x0000c020

PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113

PCI: bus=0 devfn=0x10: vendor_id=0x1234 device_id=0x1111

region 0: 0xf0000000

region 6: 0xf1000000

PCI: bus=0 devfn=0x18: vendor_id=0x1af4 device_id=0x1000

region 0: 0x0000c040

region 1: 0xf1010000

region 6: 0xf1020000

PCI: bus=0 devfn=0x20: vendor_id=0x1af4 device_id=0x1001

region 0: 0x0000c080

region 1: 0xf1030000

Found 2 cpu(s) max supported 2 cpu(s)

MP table addr=0x000fdbd0 MPC table addr=0x000fdbe0 size=260

SMBIOS ptr=0x000fdbb0 table=0xdffffe50

ACPI tables: RSDP=0x000fdb80 RSDT=0xdfffdb50

Scan for VGA option rom

Running option rom at c000:0003

VGABios $Id$

VBE Bios $Id$

Turning on vga text mode console

SeaBIOS (version 0.6.1.2-20110201_165504-titi)

 

UHCI init on dev 00:01.2 (io=c020)

Found 0 lpt ports

Found 2 serial ports

ATA controller 0 at 1f0/3f4/0 (irq 14 dev 9)

ATA controller 1 at 170/374/0 (irq 15 dev 9)

found virtio-blk at 0:4

ebda moved from 9fc00 to 9dc00

drive 0x000fdb30: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 s=83886080

ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD

PS2 keyboard initialized

WARNING - Timeout at wait_qh:218!

Timeout on wait_qh 0xdffef960 (td=0xdffef8c0 s=400000 c=c1/0)

All threads complete.

Scan for option roms

Running option rom at ca00:0003

pnp call arg1=60

pmm call arg1=0

pmm call arg1=2

pmm call arg1=0

Running option rom at ca80:0003

Returned 53248 bytes of ZoneHigh

e820 map has 8 items:

  0: 0000000000000000 - 000000000009dc00 = 1

  1: 000000000009dc00 - 00000000000a0000 = 2

  2: 00000000000f0000 - 0000000000100000 = 2

  3: 0000000000100000 - 00000000dfffd000 = 1

  4: 00000000dfffd000 - 00000000e0000000 = 2

  5: 00000000feffc000 - 00000000ff000000 = 2

  6: 00000000fffc0000 - 0000000100000000 = 2

  7: 0000000100000000 - 0000000120000000 = 1

enter handle_19:

  NULL

Booting from Hard Disk...

Booting from 0000:7c00

Start bios (version 0.6.1.2-20110201_165504-titi)

Ram Size=0xe0000000 (0x0000000020000000 high)

CPU Mhz=2927

PCI: pci_bios_init_bus_rec bus = 0x0

PIIX3/PIIX4 init: elcr=00 0c

PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237

PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000

PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010

region 4: 0x0000c000

PCI: bus=0 devfn=0x0a: vendor_id=0x8086 device_id=0x7020

region 4: 0x0000c020

PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113

PCI: bus=0 devfn=0x10: vendor_id=0x1234 device_id=0x1111

region 0: 0xf0000000

region 6: 0xf1000000

PCI: bus=0 devfn=0x18: vendor_id=0x1af4 device_id=0x1000

region 0: 0x0000c040

region 1: 0xf1010000

region 6: 0xf1020000

PCI: bus=0 devfn=0x20: vendor_id=0x1af4 device_id=0x1001

region 0: 0x0000c080

region 1: 0xf1030000

Found 2 cpu(s) max supported 2 cpu(s)

MP table addr=0x000fdbd0 MPC table addr=0x000fdbe0 size=260

SMBIOS ptr=0x000fdbb0 table=0xdffffe50

ACPI tables: RSDP=0x000fdb80 RSDT=0xdfffdb50

Scan for VGA option rom

Running option rom at c000:0003

VGABios $Id$

VBE Bios $Id$

Turning on vga text mode console

SeaBIOS (version 0.6.1.2-20110201_165504-titi)

 

UHCI init on dev 00:01.2 (io=c020)

Found 0 lpt ports

Found 2 serial ports

ATA controller 0 at 1f0/3f4/0 (irq 14 dev 9)

ATA controller 1 at 170/374/0 (irq 15 dev 9)

found virtio-blk at 0:4

ebda moved from 9fc00 to 9dc00

drive 0x000fdb30: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 s=83886080

ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD

PS2 keyboard initialized

WARNING - Timeout at wait_qh:218!

Timeout on wait_qh 0xdffef960 (td=0xdffef8c0 s=400000 c=c1/0)

All threads complete.

Scan for option roms

Running option rom at ca00:0003

pnp call arg1=60

pmm call arg1=0

pmm call arg1=2

pmm call arg1=0

Running option rom at ca80:0003

Returned 53248 bytes of ZoneHigh

e820 map has 8 items:

  0: 0000000000000000 - 000000000009dc00 = 1

  1: 000000000009dc00 - 00000000000a0000 = 2

  2: 00000000000f0000 - 0000000000100000 = 2

  3: 0000000000100000 - 00000000dfffd000 = 1

  4: 00000000dfffd000 - 00000000e0000000 = 2

  5: 00000000feffc000 - 00000000ff000000 = 2

  6: 00000000fffc0000 - 0000000100000000 = 2

  7: 0000000100000000 - 0000000120000000 = 1

enter handle_19:

  NULL

Booting from Hard Disk...

Booting from 0000:7c00

Start bios (version 0.6.1.2-20110201_165504-titi)

Ram Size=0xe0000000 (0x0000000020000000 high)

CPU Mhz=2926

PCI: pci_bios_init_bus_rec bus = 0x0

PIIX3/PIIX4 init: elcr=00 0c

PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237

PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000

PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010

region 4: 0x0000c000

PCI: bus=0 devfn=0x0a: vendor_id=0x8086 device_id=0x7020

region 4: 0x0000c020

 




-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to