Re: ec2 image not starting after dist-upgrade

2013-07-03 Thread alberto fuentes
On Wed, Jul 3, 2013 at 7:52 PM, alberto fuentes  wrote:
> I think this is the key -->"ERROR Invalid kernel:
> xc_dom_probe_bzimage_kernel: unknown compression format". I read
> somewhere about grub having problems with xz images, but not sure how
> to fix it.
>
> So far I tried to change /etc/default/grub from GRUB_DEFAULT=0 to 2
> and run grub-update with the disk attached to another instance, to try
> to boot and older working kernel, but now the instance start and stops
> without showing any errors


Just for the record for those that come after me. After some digging
yes, kernel changed from gz to xz at some point between 3.2 and 3.9

Ec2 run in some xen version that have problems with xz kernels. I just
changed GRUB_DEFAULT=2 to 1. This time I checked that was an actual
entry of some old kernel 3.2 in /boot/grub/menu.lst instead of
guessing the entry. And it worked...

Watch out for, i guess, old xen hypervisor, or ec2 when upgrading your
debian virtual boxes!

cheers!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALkubT7zNXeJVC7cE54zbwiRLrgf3jiC9vRuCDnS=zoz7ky...@mail.gmail.com



ec2 image not starting after dist-upgrade

2013-07-03 Thread alberto fuentes
Hi!

Im running testing/sid. After last dist-upgrade image refuses to
start. I pasted the output from aws at the end of the mail

I think this is the key -->"ERROR Invalid kernel:
xc_dom_probe_bzimage_kernel: unknown compression format". I read
somewhere about grub having problems with xz images, but not sure how
to fix it.

So far I tried to change /etc/default/grub from GRUB_DEFAULT=0 to 2
and run grub-update with the disk attached to another instance, to try
to boot and older working kernel, but now the instance start and stops
without showing any errors

my google fu does not show anything and i dont really know much about
the kernel to mess with it and i would probably only make it worse on
my own.

Can anybody help me? :)




Xen Minimal OS!
  start_info: 0xac4000(VA)
nr_pages: 0x26700
  shared_inf: 0xbf32(MA)
 pt_base: 0xac7000(VA)
nr_pt_frames: 0x9
mfn_list: 0x99(VA)
   mod_start: 0x0(VA)
 mod_len: 0
   flags: 0x0
cmd_line: root=/dev/sda1 ro 4
  stack:  0x94f860-0x96f860
MM: Init
  _text: 0x0(VA)
 _etext: 0x5ffbd(VA)
   _erodata: 0x78000(VA)
 _edata: 0x80ae0(VA)
stack start: 0x94f860(VA)
   _end: 0x98fe68(VA)
  start_pfn: ad3
max_pfn: 26700
Mapping memory range 0xc0 - 0x2670
setting 0x0-0x78000 readonly
skipped 0x1000
MM: Initialise page allocator for c01000(c01000)-2670(2670)
MM: done
Demand map pfns at 26701000-2026701000.
Heap resides at 2026702000-4026702000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x26701000.
Initialising scheduler
Thread "Idle": pointer: 0x2026702010, stack: 0x2664
Initialising xenbus
Thread "xenstore": pointer: 0x20267027c0, stack: 0x2665
Dummy main: start_info=0x96f960
Thread "main": pointer: 0x2026702f70, stack: 0x2666
"main" "root=/dev/sda1" "ro" "4"
vbd 2049 is hd0
*** BLKFRONT for device/vbd/2049 **


backend at /local/domain/0/backend/vbd/297/2049
Failed to read /local/domain/0/backend/vbd/297/2049/feature-barrier.
Failed to read /local/domain/0/backend/vbd/297/2049/feature-flush-cache.
16777216 sectors of 512 bytes
**

Press `ESC' to enter the menu... 4
Press `ESC' to enter the menu... 3
Press `ESC' to enter the menu... 2
Press `ESC' to enter the menu... 1
Press `ESC' to enter the menu... 0
[H
[J  Booting '3.9-1-amd64'



root (hd0)

 Filesystem type is ext2fs, using whole disk

kernel /boot/vmlinuz-3.9-1-amd64 root=/dev/xvda1 ro

initrd /boot/initrd.img-3.9-1-amd64



ERROR Invalid kernel: xc_dom_probe_bzimage_kernel: unknown compression format

xc_dom_bzimageloader.c:394: panic: xc_dom_probe_bzimage_kernel:
unknown compression format
ERROR Invalid kernel: xc_dom_find_loader: no loader found

xc_dom_core.c:536: panic: xc_dom_find_loader: no loader found
xc_dom_parse_image returned -1



Error 9: Unknown boot failure



Press any key to continue...


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/calkubt5+zxvtmscwd5gtp8bevyeqwwyudxw8jdwcdypcv0w...@mail.gmail.com