[CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

2011-11-23 Thread Robinson Tiemuqinke
I tried several ways but still no help. The following are the output (stock 
Centos 6 2.6.32-71.29.1.el6.x86_64 kernel), grub works fine and it located 
kernel and initial ramdisk. but kernel booting faied at the very beginning...

Any suggestions are more than appreciated.


--

2011-11-23T17:19:21+
Xen Minimal OS!
  start_info: 0x189(VA)
    nr_pages: 0x1e
  shared_inf: 0xb2cea000(MA)
 pt_base: 0x1893000(VA)
nr_pt_frames: 0x11
    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: 0x6000d(VA)
   _erodata: 0x78000(VA)
 _edata: 0x80b00(VA)
stack start: 0x94f860(VA)
   _end: 0x98fe68(VA)
  start_pfn: 18a7
    max_pfn: 1e
Mapping memory range 0x1c0 - 0x1e000
setting 0x0-0x78000 readonly
skipped 0x1000
MM: Initialise page allocator for 27a(27a)-1e000(1e000)
MM: done
Demand map pfns at 1e0001000-21e0001000.
Heap resides at 21e0002000-41e0002000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x1e0001000.
Initialising scheduler
Thread Idle: pointer: 0x21e0002010, stack: 0x36f
Initialising xenbus
Thread xenstore: pointer: 0x21e00027c0, stack: 0x370
Dummy main: start_info=0x96f960
Thread main: pointer: 0x21e0002f70, stack: 0x371
main root=/dev/sda1 ro 4 
vbd 2049 is hd0
*** BLKFRONT for device/vbd/2049 **


backend at /local/domain/0/backend/vbd/162/2049
Failed to read /local/domain/0/backend/vbd/162/2049/feature-barrier.
Failed to read /local/domain/0/backend/vbd/162/2049/feature-flush-cache.
20971520 sectors of 512 bytes
**
vbd 2064 is hd1
*** BLKFRONT for device/vbd/2064 **


backend at /local/domain/0/backend/vbd/162/2064
Failed to read /local/domain/0/backend/vbd/162/2064/feature-barrier.
Failed to read /local/domain/0/backend/vbd/162/2064/feature-flush-cache.
880732160 sectors of 512 bytes
**
vbd 2080 is hd2
*** BLKFRONT for device/vbd/2080 **


backend at /local/domain/0/backend/vbd/162/2080
Failed to read /local/domain/0/backend/vbd/162/2080/feature-barrier.
Failed to read /local/domain/0/backend/vbd/162/2080/feature-flush-cache.
880732160 sectors of 512 bytes
**
[H[J
    GNU GRUB  version 0.97  (7864320K lower / 0K upper memory)

[m[4;2H+-+[5;2H|[5;76H|[6;2H|[6;76H|[7;2H|[7;76H|[8;2H|[8;76H|[9;2H|[9;76H|[10;2H|[10;76H|[11;2H|[11;76H|[12;2H|[12;76H|[13;2H|[13;76H|[14;2H|[14;76H|[15;2H|[15;76H|[16;2H|[16;76H|[17;2H+-+[m
    Use the ^ and v keys to select which entry is highlighted.
    Press enter to boot the selected OS, 'e' to edit the
    commands before booting, or 'c' for a command-line.[5;78H [m[7m[5;3H CentOS 
(2.6.32-71.29.1.el6.x86_64)  
[5;75H[m[m[6;3H
 
[6;75H[m[m[7;3H
 
[7;75H[m[m[8;3H
 
[8;75H[m[m[9;3H
 
[9;75H[m[m[10;3H
 
[10;75H[m[m[11;3H
 
[11;75H[m[m[12;3H
 
[12;75H[m[m[13;3H
 
[13;75H[m[m[14;3H
 
[14;75H[m[m[15;3H
 
[15;75H[m[m[16;3H
 [16;75H[m[16;78H [5;75H[23;4H The highlighted entry will be booted 
automatically in 5 seconds.   [5;75H[23;4H The highlighted entry will be booted 
automatically in 4 seconds.   [5;75H[23;4H The highlighted entry will be booted 
automatically in 3 seconds.   [5;75H[23;4H The highlighted entry will be booted 
automatically in 2 seconds.   [5;75H[23;4H The highlighted entry will be booted 
automatically in 1 seconds.   [5;75H[H[J  Booting 'CentOS 
(2.6.32-71.29.1.el6.x86_64)'

root (hd0)
 Filesystem type is ext2fs, using whole disk

kernel /boot/vmlinuz-2.6.32-71.29.1.el6.x86_64 ro root=/dev/sda1 rhgb quiet 
initrd /boot/initramfs-2.6.32-71.29.1.el6.x86_64.img

close blk: backend at /local/domain/0/backend/vbd/162/2049
close blk: backend at /local/domain/0/backend/vbd/162/2064
close blk: backend at /local/domain/0/backend/vbd/162/2080
PCI: Warning: Cannot find a gap in the 32bit 

Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

2011-11-23 Thread Johnny Hughes
On 11/23/2011 11:40 AM, Robinson Tiemuqinke wrote:
 I tried several ways but still no help. The following are the output (stock 
 Centos 6 2.6.32-71.29.1.el6.x86_64 kernel), grub works fine and it located 
 kernel and initial ramdisk. but kernel booting faied at the very beginning...
 
 Any suggestions are more than appreciated.
 
 
 --
 
 2011-11-23T17:19:21+
 Xen Minimal OS!
   start_info: 0x189(VA)
 nr_pages: 0x1e
   shared_inf: 0xb2cea000(MA)
  pt_base: 0x1893000(VA)
 nr_pt_frames: 0x11
 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: 0x6000d(VA)
_erodata: 0x78000(VA)
  _edata: 0x80b00(VA)
 stack start: 0x94f860(VA)
_end: 0x98fe68(VA)
   start_pfn: 18a7
 max_pfn: 1e
 Mapping memory range 0x1c0 - 0x1e000
 setting 0x0-0x78000 readonly
 skipped 0x1000
 MM: Initialise page allocator for 27a(27a)-1e000(1e000)
 MM: done
 Demand map pfns at 1e0001000-21e0001000.
 Heap resides at 21e0002000-41e0002000.
 Initialising timer interface
 Initialising console ... done.
 gnttab_table mapped at 0x1e0001000.
 Initialising scheduler
 Thread Idle: pointer: 0x21e0002010, stack: 0x36f
 Initialising xenbus
 Thread xenstore: pointer: 0x21e00027c0, stack: 0x370
 Dummy main: start_info=0x96f960
 Thread main: pointer: 0x21e0002f70, stack: 0x371
 main root=/dev/sda1 ro 4 
 vbd 2049 is hd0
 *** BLKFRONT for device/vbd/2049 **
 
 
 backend at /local/domain/0/backend/vbd/162/2049
 Failed to read /local/domain/0/backend/vbd/162/2049/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2049/feature-flush-cache.
 20971520 sectors of 512 bytes
 **
 vbd 2064 is hd1
 *** BLKFRONT for device/vbd/2064 **
 
 
 backend at /local/domain/0/backend/vbd/162/2064
 Failed to read /local/domain/0/backend/vbd/162/2064/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2064/feature-flush-cache.
 880732160 sectors of 512 bytes
 **
 vbd 2080 is hd2
 *** BLKFRONT for device/vbd/2080 **
 
 
 backend at /local/domain/0/backend/vbd/162/2080
 Failed to read /local/domain/0/backend/vbd/162/2080/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2080/feature-flush-cache.
 880732160 sectors of 512 bytes
 **
 [H[J
 GNU GRUB  version 0.97  (7864320K lower / 0K upper memory)
 
 [m[4;2H+-+[5;2H|[5;76H|[6;2H|[6;76H|[7;2H|[7;76H|[8;2H|[8;76H|[9;2H|[9;76H|[10;2H|[10;76H|[11;2H|[11;76H|[12;2H|[12;76H|[13;2H|[13;76H|[14;2H|[14;76H|[15;2H|[15;76H|[16;2H|[16;76H|[17;2H+-+[m
 Use the ^ and v keys to select which entry is highlighted.
 Press enter to boot the selected OS, 'e' to edit the
 commands before booting, or 'c' for a command-line.[5;78H [m[7m[5;3H 
 CentOS (2.6.32-71.29.1.el6.x86_64)  
 [5;75H[m[m[6;3H   
   [6;75H[m[m[7;3H 
 [7;75H[m[m[8;3H   
   [8;75H[m[m[9;3H 

  [9;75H[m[m[10;3H 
 [10;75H[m[m[11;3H 
 [11;75H[m[m[12;3H 
 [12;75H[m[m[13;3H 
 [13;75H[m[m[14;3H 

  [14;75H[m[m[15;3H
  [15;75H[m[m[16;3H
  [16;75H[m[16;78H [5;75H[23;4H The highlighted entry 
 will be booted automatically in 5 seconds.   [5;75H[23;4H The highlighted 
 entry will be booted automatically in 4 seconds.   [5;75H[23;4H The 
 highlighted entry will be booted automatically in 3 seconds.   [5;75H[23;4H 
 The highlighted entry will be booted automatically in 2 seconds.   
 [5;75H[23;4H The highlighted entry will be booted automatically in 1 seconds. 
   [5;75H[H[J  Booting 'CentOS (2.6.32-71.29.1.el6.x86_64)'
 
 root (hd0)
  Filesystem type is ext2fs, using whole disk
 
 kernel /boot/vmlinuz-2.6.32-71.29.1.el6.x86_64 ro root=/dev/sda1 rhgb quiet 
 initrd /boot/initramfs-2.6.32-71.29.1.el6.x86_64.img
 
 close blk: backend at /local/domain/0/backend/vbd/162/2049
 close blk: 

Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

2011-11-23 Thread Robinson Tiemuqinke
Hi Johnny,

 Thanks a lot. I'll upgrade kernel to the cr repository, and give it a try now.

--Guolin



 From: Johnny Hughes joh...@centos.org
To: centos@centos.org 
Sent: Wednesday, November 23, 2011 9:55 AM
Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?
 
On 11/23/2011 11:40 AM, Robinson Tiemuqinke wrote:
 I tried several ways but still no help. The following are the output (stock 
 Centos 6 2.6.32-71.29.1.el6.x86_64 kernel), grub works fine and it located 
 kernel and initial ramdisk. but kernel booting faied at the very beginning...
 
 Any suggestions are more than appreciated.
 
 
 --
 
 2011-11-23T17:19:21+
 Xen Minimal OS!
   start_info: 0x189(VA)
     nr_pages: 0x1e
   shared_inf: 0xb2cea000(MA)
      pt_base: 0x1893000(VA)
 nr_pt_frames: 0x11
     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: 0x6000d(VA)
    _erodata: 0x78000(VA)
      _edata: 0x80b00(VA)
 stack start: 0x94f860(VA)
        _end: 0x98fe68(VA)
   start_pfn: 18a7
     max_pfn: 1e
 Mapping memory range 0x1c0 - 0x1e000
 setting 0x0-0x78000 readonly
 skipped 0x1000
 MM: Initialise page allocator for 27a(27a)-1e000(1e000)
 MM: done
 Demand map pfns at 1e0001000-21e0001000.
 Heap resides at 21e0002000-41e0002000.
 Initialising timer interface
 Initialising console ... done.
 gnttab_table mapped at 0x1e0001000.
 Initialising scheduler
 Thread Idle: pointer: 0x21e0002010, stack: 0x36f
 Initialising xenbus
 Thread xenstore: pointer: 0x21e00027c0, stack: 0x370
 Dummy main: start_info=0x96f960
 Thread main: pointer: 0x21e0002f70, stack: 0x371
 main root=/dev/sda1 ro 4 
 vbd 2049 is hd0
 *** BLKFRONT for device/vbd/2049 **
 
 
 backend at /local/domain/0/backend/vbd/162/2049
 Failed to read /local/domain/0/backend/vbd/162/2049/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2049/feature-flush-cache.
 20971520 sectors of 512 bytes
 **
 vbd 2064 is hd1
 *** BLKFRONT for device/vbd/2064 **
 
 
 backend at /local/domain/0/backend/vbd/162/2064
 Failed to read /local/domain/0/backend/vbd/162/2064/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2064/feature-flush-cache.
 880732160 sectors of 512 bytes
 **
 vbd 2080 is hd2
 *** BLKFRONT for device/vbd/2080 **
 
 
 backend at /local/domain/0/backend/vbd/162/2080
 Failed to read /local/domain/0/backend/vbd/162/2080/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2080/feature-flush-cache.
 880732160 sectors of 512 bytes
 **
 [H[J
     GNU GRUB  version 0.97  (7864320K lower / 0K upper memory)
 
 [m[4;2H+-+[5;2H|[5;76H|[6;2H|[6;76H|[7;2H|[7;76H|[8;2H|[8;76H|[9;2H|[9;76H|[10;2H|[10;76H|[11;2H|[11;76H|[12;2H|[12;76H|[13;2H|[13;76H|[14;2H|[14;76H|[15;2H|[15;76H|[16;2H|[16;76H|[17;2H+-+[m
     Use the ^ and v keys to select which entry is highlighted.
     Press enter to boot the selected OS, 'e' to edit the
     commands before booting, or 'c' for a command-line.[5;78H [m[7m[5;3H 
CentOS (2.6.32-71.29.1.el6.x86_64)                                      
[5;75H[m[m[6;3H                                                                
         [6;75H[m[m[7;3H                                                       
                  [7;75H[m[m[8;3H                                              
                           [8;75H[m[m[9;3H                                     
                                   
  [9;75H[m[m[10;3H                                                             
            [10;75H[m[m[11;3H                                                  
                       [11;75H[m[m[12;3H                                       
                                  [12;75H[m[m[13;3H                            
                                             [13;75H[m[m[14;3H                 
                                                       
  [14;75H[m[m[15;3H                                                            
             [15;75H[m[m[16;3H                                                 
                        [16;75H[m[16;78H [5;75H[23;4H The highlighted entry 
will be booted automatically in 5 seconds.   [5;75H[23;4H The highlighted 
entry will be booted automatically in 4 seconds.   [5;75H[23;4H The 
highlighted entry will be booted automatically in 3 seconds.   [5;75H[23;4H 
The highlighted entry will be booted automatically in 2 seconds.   
[5;75H[23;4H The highlighted entry will be booted automatically in 1 seconds.  
 [5;75H[H[J  Booting

Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

2011-11-23 Thread Robinson Tiemuqinke
: device/vif/0
XENBUS: Device with no driver: device/console/0
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Initalizing network drop monitor service
Freeing unused kernel memory: 1232k freed
Write protecting the kernel read-only data: 10240k
Freeing unused kernel memory: 1112k freed
Freeing unused kernel memory: 1796k freed
dracut: dracut-004-33.2.el6_0
dracut: rd_NO_LUKS: removing cryptoluks activation
dracut: rd_NO_LVM: removing LVM activation
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.20.6-ioctl (2011-02-02) initialised: dm-de...@redhat.com
udev: starting version 147
dracut: Starting plymouth daemon
dracut: rd_NO_DM: removing DM RAID activation
dracut: rd_NO_MD: removing MD RAID activation
xlblk_init: register_blkdev major: 202 
blkfront: xvde1: barriers disabled
blkfront: xvdf: barriers disabled
 xvdf:
 unknown partition table
blkfront: xvdg: barriers disabled
 xvdg: unknown partition table
blkfront: xvdh: barriers disabled
 xvdh: unknown partition table
blkfront: xvdi: barriers disabled
 xvdi: unknown partition table

Boot has failed, sleeping forever.






 From: Robinson Tiemuqinke hahaha_...@yahoo.com
To: Johnny Hughes joh...@centos.org 
Cc: CentOS mailing list centos@centos.org 
Sent: Wednesday, November 23, 2011 10:48 AM
Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?
 
Hi Johnny,

 Thanks a lot. I'll upgrade kernel to the cr repository, and give it a try now.

--Guolin



From: Johnny Hughes joh...@centos.org
To: centos@centos.org 
Sent: Wednesday, November 23, 2011 9:55 AM
Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

On 11/23/2011 11:40 AM, Robinson Tiemuqinke wrote:
 I tried several ways but still no help. The following are the output (stock 
 Centos 6 2.6.32-71.29.1.el6.x86_64 kernel), grub works fine and it located 
 kernel and initial ramdisk. but kernel booting faied at the very beginning...
 
 Any suggestions are more than appreciated.
 
 
 --
 
 2011-11-23T17:19:21+
 Xen Minimal OS!
   start_info: 0x189(VA)
     nr_pages: 0x1e
   shared_inf: 0xb2cea000(MA)
      pt_base: 0x1893000(VA)
 nr_pt_frames: 0x11
     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: 0x6000d(VA)
    _erodata: 0x78000(VA)
      _edata: 0x80b00(VA)
 stack start: 0x94f860(VA)
        _end: 0x98fe68(VA)
   start_pfn: 18a7
     max_pfn: 1e
 Mapping memory range 0x1c0 - 0x1e000
 setting 0x0-0x78000 readonly
 skipped 0x1000
 MM: Initialise page allocator for 27a(27a)-1e000(1e000)
 MM: done
 Demand map pfns at 1e0001000-21e0001000.
 Heap resides at 21e0002000-41e0002000.
 Initialising timer interface
 Initialising console ... done.
 gnttab_table mapped at 0x1e0001000.
 Initialising scheduler
 Thread Idle: pointer: 0x21e0002010, stack: 0x36f
 Initialising xenbus
 Thread xenstore: pointer: 0x21e00027c0, stack: 0x370
 Dummy main: start_info=0x96f960
 Thread main: pointer: 0x21e0002f70, stack: 0x371
 main root=/dev/sda1 ro 4 
 vbd 2049 is hd0
 *** BLKFRONT for device/vbd/2049 **
 
 
 backend at /local/domain/0/backend/vbd/162/2049
 Failed to read /local/domain/0/backend/vbd/162/2049/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2049/feature-flush-cache.
 20971520 sectors of 512 bytes
 **
 vbd 2064 is hd1
 *** BLKFRONT for device/vbd/2064 **
 
 
 backend at /local/domain/0/backend/vbd/162/2064
 Failed to read /local/domain/0/backend/vbd/162/2064/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2064/feature-flush-cache.
 880732160 sectors of 512 bytes
 **
 vbd 2080 is hd2
 *** BLKFRONT for device/vbd/2080 **
 
 
 backend at /local/domain/0/backend/vbd/162/2080
 Failed to read /local/domain/0/backend/vbd/162/2080/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2080/feature-flush-cache.
 880732160 sectors of 512 bytes
 **
 [H[J
     GNU GRUB  version 0.97  (7864320K lower / 0K upper memory)
 
 [m[4;2H+-+[5;2H|[5;76H|[6;2H|[6;76H|[7;2H|[7;76H|[8;2H|[8;76H|[9;2H|[9;76H|[10;2H|[10;76H|[11;2H|[11;76H|[12;2H|[12;76H|[13;2H|[13;76H|[14;2H|[14;76H|[15;2H|[15;76H|[16;2H|[16;76H|[17;2H+-+[m
     Use the ^ and v keys to select which entry is highlighted.
     Press enter to boot the selected OS, 'e' to edit the
     commands before booting, or 'c' for a command-line.[5;78H [m[7m[5;3H 
CentOS (2.6.32-71.29.1.el6.x86_64)                                      
[5;75H[m[m[6;3H

Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

2011-11-23 Thread m . roth
Robinson Tiemuqinke wrote:
 I've tried with cr kernel, not it moves much faster but still fails --
 fails at the partition failure, this setup is S3 backed image.

 root (hd0)
  Filesystem type is ext2fs, using whole disk
 kernel /boot/vmlinuz-2.6.32-131.17.1.el6.x86_64 ro root=/dev/sda1
 rd_NO_LUKS rd
 _NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
 KEYBOARDTY
 PE=pc KEYTABLE=us crashkernel=auto crashkernel=auto
 initrd /boot/initramfs-2.6.32-131.17.1.el6.x86_64.img
snip
  xvdf:
  unknown partition table
 blkfront: xvdg: barriers disabled
  xvdg: unknown partition table
 blkfront: xvdh: barriers disabled
  xvdh: unknown partition table
 blkfront: xvdi: barriers disabled
  xvdi: unknown partition table

 Boot has failed, sleeping forever.

FUNNY you should mention that... I literally ran into that yesterday, with
lots of screaming and yelling. This will sound scary, but isn't: try
reinstalling, but when you get to the screen that asks you what you want
to do, select the radio button for upgrade, which says it does *not*
format the partition(s). I did that - I had rsync'd / and /boot from
another server, identical, with Linux software RAID. Bad mistake - best
guess is there are some magic numbers in initrd - so I did this. It only
took a couple of minutes, and seemed to not do much more than reinstall
grub and some post-install scripts, and everything was wonderful.

 mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

2011-11-23 Thread Robinson Tiemuqinke
Hi Mark,

 Would you mind to elaborate your steps of fixing?

 I'm using 'yum groupinstall --installroot=/loopDevice ...' method, then 
Install(not update) the newest kernel from cr/ repository. 


Did you rebuild initial ramdisk? If so, what's your command to do that? Thanks 
a lot.

--Rob




 From: m.r...@5-cent.us m.r...@5-cent.us
To: CentOS mailing list centos@centos.org 
Sent: Wednesday, November 23, 2011 11:47 AM
Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?
 
Robinson Tiemuqinke wrote:
 I've tried with cr kernel, not it moves much faster but still fails --
 fails at the partition failure, this setup is S3 backed image.

 root (hd0)
  Filesystem type is ext2fs, using whole disk
 kernel /boot/vmlinuz-2.6.32-131.17.1.el6.x86_64 ro root=/dev/sda1
 rd_NO_LUKS rd
 _NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
 KEYBOARDTY
 PE=pc KEYTABLE=us crashkernel=auto crashkernel=auto
 initrd /boot/initramfs-2.6.32-131.17.1.el6.x86_64.img
snip
  xvdf:
  unknown partition table
 blkfront: xvdg: barriers disabled
  xvdg: unknown partition table
 blkfront: xvdh: barriers disabled
  xvdh: unknown partition table
 blkfront: xvdi: barriers disabled
  xvdi: unknown partition table

 Boot has failed, sleeping forever.

FUNNY you should mention that... I literally ran into that yesterday, with
lots of screaming and yelling. This will sound scary, but isn't: try
reinstalling, but when you get to the screen that asks you what you want
to do, select the radio button for upgrade, which says it does *not*
format the partition(s). I did that - I had rsync'd / and /boot from
another server, identical, with Linux software RAID. Bad mistake - best
guess is there are some magic numbers in initrd - so I did this. It only
took a couple of minutes, and seemed to not do much more than reinstall
grub and some post-install scripts, and everything was wonderful.

         mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

2011-11-23 Thread m . roth
Hi, Rob,

Robinson Tiemuqinke wrote:

  Would you mind to elaborate your steps of fixing?

  I'm using 'yum groupinstall --installroot=/loopDevice ...' method, then
 Install(not update) the newest kernel from cr/ repository.

 Did you rebuild initial ramdisk? If so, what's your command to do that?
 Thanks a lot.

No, I wasn't using a command line, because I couldn't get the sucker to
boot, even though when I did what it told me to do on panic - add rdshell
to the kernel line before booting - I could manually assemble the RAIDs,
but then it wouldn't mount.

I *literally* started an install (I had a PXEboot one available) with no
ks file. About three or four screens in, it presented me with a set of
options to install (wipe everything), or... forget what the second option
was, and the third was upgrade, and it showed a dropdown list (which,
for me, only had one entry) of the one I'd installed. I chose that, and
then clicked for go, and from that point, it was literally about two
minutes, and it installed grub, then did some post-install scripts of its
own, and told me it was time to reboot.

   mark

 --Rob



 
  From: m.r...@5-cent.us m.r...@5-cent.us
 To: CentOS mailing list centos@centos.org
 Sent: Wednesday, November 23, 2011 11:47 AM
 Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos
 6?

 Robinson Tiemuqinke wrote:
 I've tried with cr kernel, not it moves much faster but still fails --
 fails at the partition failure, this setup is S3 backed image.

 root (hd0)
  Filesystem type is ext2fs, using whole disk
 kernel /boot/vmlinuz-2.6.32-131.17.1.el6.x86_64 ro root=/dev/sda1
 rd_NO_LUKS rd
 _NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
 KEYBOARDTY
 PE=pc KEYTABLE=us crashkernel=auto crashkernel=auto
 initrd /boot/initramfs-2.6.32-131.17.1.el6.x86_64.img
 snip
  xvdf:
  unknown partition table
 blkfront: xvdg: barriers disabled
  xvdg: unknown partition table
 blkfront: xvdh: barriers disabled
  xvdh: unknown partition table
 blkfront: xvdi: barriers disabled
  xvdi: unknown partition table

 Boot has failed, sleeping forever.

 FUNNY you should mention that... I literally ran into that yesterday, with
 lots of screaming and yelling. This will sound scary, but isn't: try
 reinstalling, but when you get to the screen that asks you what you want
 to do, select the radio button for upgrade, which says it does *not*
 format the partition(s). I did that - I had rsync'd / and /boot from
 another server, identical, with Linux software RAID. Bad mistake - best
 guess is there are some magic numbers in initrd - so I did this. It only
 took a couple of minutes, and seemed to not do much more than reinstall
 grub and some post-install scripts, and everything was wonderful.

          mark

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

2011-11-23 Thread Robinson Tiemuqinke
Hi Mark, John and all,


Finally got it work! hew..

The last part which  makes the difference is change the /dev/sda1 to /dev/xvde1 
in files /boot/grub/menu.lst and /etc/fstab. the file system type set to 'ext2' 
(from ext3) for /dev/xvde1 as well  -- this is a S3 backed AMI image. There is 
no need to re-create initial ramdisk if you use the newest kernel 
2.6.32-131.17.1.el6.x86_64 from cr/ depository, all xen blocknet modules seems 
already included -- please someone double check it to comfirm/deny, I'm just 
too tired now.


Thanks again for all your time and efforts and wish your all have a great long 
holiday weekend.

--Rob



 From: Robinson Tiemuqinke hahaha_...@yahoo.com
To: CentOS mailing list centos@centos.org 
Sent: Wednesday, November 23, 2011 11:55 AM
Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?
 
Hi Mark,

 Would you mind to elaborate your steps of fixing?

 I'm using 'yum groupinstall --installroot=/loopDevice ...' method, then 
Install(not update) the newest kernel from cr/ repository. 


Did you rebuild initial ramdisk? If so, what's your command to do that? Thanks 
a lot.

--Rob




From: m.r...@5-cent.us m.r...@5-cent.us
To: CentOS mailing list centos@centos.org 
Sent: Wednesday, November 23, 2011 11:47 AM
Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

Robinson Tiemuqinke wrote:
 I've tried with cr kernel, not it moves much faster but still fails --
 fails at the partition failure, this setup is S3 backed image.

 root (hd0)
  Filesystem type is ext2fs, using whole disk
 kernel /boot/vmlinuz-2.6.32-131.17.1.el6.x86_64 ro root=/dev/sda1
 rd_NO_LUKS rd
 _NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
 KEYBOARDTY
 PE=pc KEYTABLE=us crashkernel=auto crashkernel=auto
 initrd /boot/initramfs-2.6.32-131.17.1.el6.x86_64.img
snip
  xvdf:
  unknown partition table
 blkfront: xvdg: barriers disabled
  xvdg: unknown partition table
 blkfront: xvdh: barriers disabled
  xvdh: unknown partition table
 blkfront: xvdi: barriers disabled
  xvdi: unknown partition table

 Boot has failed, sleeping forever.

FUNNY you should mention that... I literally ran into that yesterday, with
lots of screaming and yelling. This will sound scary, but isn't: try
reinstalling, but when you get to the screen that asks you what you want
to do, select the radio button for upgrade, which says it does *not*
format the partition(s). I did that - I had rsync'd / and /boot from
another server, identical, with Linux software RAID. Bad mistake - best
guess is there are some magic numbers in initrd - so I did this. It only
took a couple of minutes, and seemed to not do much more than reinstall
grub and some post-install scripts, and everything was wonderful.

         mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos