[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xen Domain0 keep rebooting on IBMx346



G'day Alan,

On 5/04/2013 5:57 PM, alan04 wrote:
> I saw your email
> :http://lists.debian.org/debian-user/2011/03/msg00504.html, and hope to
> learn some infomation from you.
> 
> I have similar problem of IBM x346, with Xen 4.1.2(on Ubuntu 12.04), or
> Xen 4.1.3 (on Ubuntu 12.10).
> The domain0 always fail to boot and keep restarting, after loaded to
> "Domain0 have * vcpu" each time.
> 
> 10 seconds waiting seems not working for me. I would like to know if you
> have found some solution for this problem?


Below are my grub setup notes, I use:

	GRUB_CMDLINE_LINUX_DEFAULT="rootwait"





2. ###### Fix Grub Settings ######

2.1 ### Fix grub setup so that the first kernel is a xen kernel (required).

# cd /etc/grub.d
#  ls -l /etc/grub.d
total 52
-rwxr-xr-x 1 root root 6433 Jan 18 22:43 00_header
-rwxr-xr-x 1 root root 5343 Jan 18 22:23 05_debian_theme
-rwxr-xr-x 1 root root 4284 Jan 18 22:43 10_linux
-rwxr-xr-x 1 root root 4925 Jan 18 22:43 20_linux_xen
-rwxr-xr-x 1 root root 5789 Jan 18 22:43 30_os-prober
-rwxr-xr-x 1 root root  214 Jan 18 22:43 40_custom
-rwxr-xr-x 1 root root   95 Jan 18 22:43 41_custom
-rw-r--r-- 1 root root  483 Jan 18 22:43 README
# mv 10_linux 50_linux
#  ls -l /etc/grub.d
total 52
-rwxr-xr-x 1 root root 6433 Jan 18 22:43 00_header
-rwxr-xr-x 1 root root 5343 Jan 18 22:23 05_debian_theme
-rwxr-xr-x 1 root root 4925 Jan 18 22:43 20_linux_xen
-rwxr-xr-x 1 root root 5789 Jan 18 22:43 30_os-prober
-rwxr-xr-x 1 root root  214 Jan 18 22:43 40_custom
-rwxr-xr-x 1 root root   95 Jan 18 22:43 41_custom
-rwxr-xr-x 1 root root 4284 Jan 18 22:43 50_linux
-rw-r--r-- 1 root root  483 Jan 18 22:43 README


2.2 ### Add entries to /etc/defalult/grub

# cat >> /etc/default/grub <<EOF

# Disable OS prober to prevent virtual machines on logical volumes
# from appearing in the boot menu.
GRUB_DISABLE_OS_PROBER=true

# Xen boot parameters for all Xen boots
#GRUB_CMDLINE_XEN=""

# Xen boot parameters for non-recovery Xen boots
#   (in addition to GRUB_CMDLINE_XEN)
#GRUB_CMDLINE_XEN_DEFAULT=""
EOF


2.3 ### Adjust grub timeout

  ### Note for IBM x346 server:
  ###
  ### I had to change the default grub delay from 5 seconds to 10, in
/etc/default/grub
  ###
  ### With the standard 5 seconds, the Dom0 wouldn't boot and I would
  ### get a CPU panic with reboot every time.

GRUB_TIMEOUT=10

  ### this continued to be a problem later.... on another machine
  ### the best fix was to adjust a different line in /etc/default/grub
  ### it originally has "quiet", but I didn't want quiet, I did want
rootwait
  ### to fix this problem

GRUB_CMDLINE_LINUX_DEFAULT="rootwait"


2.4 ### Update Grub Setings ######

# update-grub2

##################################################

> Thank you!
> Alan Zheng

Cheers


-- 
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP

Current Land Line No: 03 9012 2102
Mobile: 04 2574 1827 Fax: 03 9012 2178

National No: 1300 85 3804

Affinity Vision Australia Pty Ltd
http://affinityvision.com.au
http://securemywireless.com.au
http://adsl2choice.net.au

In Case of Emergency --  http://affinityvision.com.au/ice.html


Reply to: