We have read the readme and have been following it step by step. We''ve come across a problem when booting into xen using grub. When selecting Xen from the grub loader, we get the message "DOM0 refused to load, Aieee!" (or something to that effect) We have tried using the suggested menu.lst, and have also tried replacing the root=/dev/sda4 with root=/dev/hda1 and root=/dev/hda2, the names of the root and boot partitions respectively. Do you have any suggestions on things to check for? Xen.gz and xenolinux.gz are both in the /boot directory, and the xen kernel seems to start. Thanks in advance, -Dave Berlin, Jeremy Chiu. Jefferson Ng
On 22 Nov 2003, at 05:06, Dave Berlin wrote:> We have read the readme and have been following it step by step. > We’ve come across a problem when booting into xen using grub. When > selecting Xen from the grub loader, we get the message “DOM0 refused > to load, Aieee!” (or something to that effect) > > > > We have tried using the suggested menu.lst, and have also tried > replacing the root=/dev/sda4 with root=/dev/hda1 and root=/dev/hda2, > the names of the root and boot partitions respectively. Do you have > any suggestions on things to check for? Xen.gz and xenolinux.gz are > both in the /boot directory, and the xen kernel seems to start.Please post to this list the last several lines of boot messag, and the GRUB menu entry for XenoLinux. There could be various reasons for this error. Before having further information, let''s try the simplest one: How much physical memory in total does your machine have? How much physical memory have you assigned to Domain0 in the GRUB menu entry? -- Bin ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
There is 256MB of physical RAM in the machine. Here is the GRUB entry: title Xen / Xenolinux 2.4.22 kernel /xen.gz dom0_mem=131072 ser_baud=115200 noht module /xenolinux.gz root=/dev/sda4 ro console=tty0 We have also tried using hda0 and hda1 instead of sda4 as we weren''t sure what that meant. The last few lines of the error message are: megaraid: v1.18d (release date: Wed Aug 7 18:51:51 EDT 2002) megaraid: no BIOS enabled device eth0 opened and ready for use Could not set up dom0 guest OS Aieee! CPU0 is toast. Please let us know if you need more of the error message, and thanks again for your help. Also, if you need more of the error message, is there any way to keep it from rebooting after only 5 seconds? It is difficult to copy a lot down in that small window. Dave Berlin Jefferson Ng Jeremy Chiu -----Original Message----- From: Bin Ren [mailto:br260@cam.ac.uk] Sent: Saturday, November 22, 2003 2:32 AM To: Dave Berlin Cc: Devel Xen Subject: Re: [Xen-devel] problem with booting On 22 Nov 2003, at 05:06, Dave Berlin wrote:> We have read the readme and have been following it step by step. > Weve come across a problem when booting into xen using grub. When > selecting Xen from the grub loader, we get the message DOM0 refused > to load, Aieee! (or something to that effect) > > > > We have tried using the suggested menu.lst, and have also tried > replacing the root=/dev/sda4 with root=/dev/hda1 and root=/dev/hda2, > the names of the root and boot partitions respectively. Do you have > any suggestions on things to check for? Xen.gz and xenolinux.gz are > both in the /boot directory, and the xen kernel seems to start.Please post to this list the last several lines of boot messag, and the GRUB menu entry for XenoLinux. There could be various reasons for this error. Before having further information, let''s try the simplest one: How much physical memory in total does your machine have? How much physical memory have you assigned to Domain0 in the GRUB menu entry? -- Bin ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
You can stop Xen rebooting on error conditions by specifying ''noreboot'' on the command line. Your failure is due to one of two possibilities: 1. You do not have enough memory configured to boot Xenolinux with 128MB RAM (perhaps Xen couldn''t find all your RAM for some reason?) 2. Your xenolinux.gz file isn''t a valid xenolinux file. I suspect that latter is more likely. You could find which error is occurring by adding a printk() message to each error return path in setup_guestos() in xen/common/domain.c. I should really check some better error messages ibnto the tree :-) -- Keir> There is 256MB of physical RAM in the machine. > > Here is the GRUB entry: > > title Xen / Xenolinux 2.4.22 > kernel /xen.gz dom0_mem=131072 ser_baud=115200 noht > module /xenolinux.gz root=/dev/sda4 ro console=tty0 > > We have also tried using hda0 and hda1 instead of sda4 as we weren''t sure > what that meant. > > The last few lines of the error message are: > > megaraid: v1.18d (release date: Wed Aug 7 18:51:51 EDT 2002) > megaraid: no BIOS enabled > device eth0 opened and ready for use > > Could not set up dom0 guest OS > Aieee! CPU0 is toast. > > > Please let us know if you need more of the error message, and thanks again > for your help. Also, if you need more of the error message, is there any way > to keep it from rebooting after only 5 seconds? It is difficult to copy a > lot down in that small window. > > Dave Berlin > Jefferson Ng > Jeremy Chiu------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Dave Berlin wrote:> We have read the readme and have been following it step by step. We’ve > come across a problem when booting into xen using grub. When selecting > Xen from the grub loader, we get the message “DOM0 refused to load, > Aieee!” (or something to that effect) > > > > We have tried using the suggested menu.lst, and have also tried > replacing the root=/dev/sda4 with root=/dev/hda1 and root=/dev/hda2, the > names of the root and boot partitions respectively.Hi Dave, I suspect the problem may be having /boot as a separate partition from / (root). If you have only one hard disk drive and it is BIOS IDE Primary Master the following GRUB settings may work. title Xen / XenoLinux 2.4.22 # set the reference point (root) to /dev/hda2 (the boot partition); root (hd0,1) # now, boot the xen kernel; kernel /boot/xen.gz dom0_mem=100000 hoht nosmp noreboot # next, we''ll let xen boot xenolinux. It must know where the base of the # filesystem is so we pass the kernel the location of the root partition (/) module /boot/xenolinux.gz root=/dev/hda1 ro console=xencons0 console=tty0 DOMID=0 This may work. It might be easier to place the boot directory in the root partition until everything is working and then, if for whatever reason, you want to move the /boot directory to its own partition you''ll have had something against which to compare. Something I learned the hard way but that has been very helpful to me is to create a GRUB boot floppy. Once booted from that, GRUB provides a command line interface so that you may try the command lines one by one. As you enter the commands individually you will receive each''s output individually. That helped me home in on my boot problems, and may help you. Best of luck, Mike Wright> Do you have any > suggestions on things to check for? Xen.gz and xenolinux.gz are both in > the /boot directory, and the xen kernel seems to start. > > > > Thanks in advance, > > -Dave Berlin, > > Jeremy Chiu. > > Jefferson Ng >------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel