I''m trying to install xen-3.0.4 from source on a debian sarge (3.1r4) box with dual AMD-64 processors (with the new HVM support, although I don''t think that''s got anything to do with the problem). I installed only the packages necessary to compile xen and its kernel(gcc, make, bzip2, bridge-utils, etc). In the source directory, I ran ''make world && make install''. I then ran ''mkinitrd -o /boot/initrd.img-2.6.16.33-xen 2.6.16.33-xen''. Finally, I added these lines to /boot/grub/menu.1st: title xen 3.0.4 / linux 2.6.16.33-xen root (hd0,0) kernel /xen-3.0.4-1.gz module /vmlinuz-2.6.16.33-xen root=/dev/sda2 ro console=ttyS1,115200 module /initrd.img-2.6.16.33-xen savedefault boot When I try to boot, though, I get as far as the xen kernel trying to load, and then grub spits this out, and the machine reboots: root (hd0,0) Filesystem type is ext2fs, partition type 0x83 kernel /xen-3.0.4-1.gz [Multiboot-elf, <0x100000:0x9a878:0x5a788>, shtab=0x1f5078, entry=0x100000] module /vmlinuz-2.6.16.33-xen root=/dev/sda2 ro console=ttyS1,115200 noreboot sync_console [Multiboot-module @ 0x1f6000, 0x52afa0 bytes] module /initrd.img-2.6.16.33-xen [Multiboot-module @ 0x721000, 0x4b6000 bytes] Is there anything I''m missing? Anything I can do to help debug the problem? Paul -- ---------- # pwd /loony/bin ---------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Paul Archer > Sent: 27 February 2007 16:47 > To: xen-users@lists.xensource.com > Subject: [Xen-users] AMD-64 install hangs on kernel load > > I''m trying to install xen-3.0.4 from source on a debian sarge > (3.1r4) box > with dual AMD-64 processors (with the new HVM support, > although I don''t > think that''s got anything to do with the problem). > I installed only the packages necessary to compile xen and > its kernel(gcc, > make, bzip2, bridge-utils, etc). > In the source directory, I ran ''make world && make install''. > I then ran > ''mkinitrd -o /boot/initrd.img-2.6.16.33-xen 2.6.16.33-xen''. > Finally, I added these lines to /boot/grub/menu.1st: > > title xen 3.0.4 / linux 2.6.16.33-xen > root (hd0,0) > kernel /xen-3.0.4-1.gz > module /vmlinuz-2.6.16.33-xen root=/dev/sda2 ro > console=ttyS1,115200 > module /initrd.img-2.6.16.33-xen > savedefault > boot > > > When I try to boot, though, I get as far as the xen kernel > trying to load, > and then grub spits this out, and the machine reboots: > > root (hd0,0) > Filesystem type is ext2fs, partition type 0x83 > kernel /xen-3.0.4-1.gz > [Multiboot-elf, <0x100000:0x9a878:0x5a788>, shtab=0x1f5078, > entry=0x100000] > module /vmlinuz-2.6.16.33-xen root=/dev/sda2 ro console=ttyS1,115200 > noreboot > sync_console > [Multiboot-module @ 0x1f6000, 0x52afa0 bytes] > module /initrd.img-2.6.16.33-xen > [Multiboot-module @ 0x721000, 0x4b6000 bytes] > > > Is there anything I''m missing? Anything I can do to help debug the > problem?And nothing else appears on the console (serial port)? I don''t see anything directly wrong, but it''s obviously "not as it should be". What version of gcc are you using - if you have a bleeding edge compiler, maybe it clobbered the binaries in some way (we''ve seen problems where new compilers optimization features causes Xen to "go wrong" because the compiler makes assumptions about things that aren''t matching reality). Gcc 4.0 or older should be fine tho''. -- Mats> > Paul > > > -- > ---------- > # pwd > /loony/bin > ---------- > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, 27 Feb 2007, Petersson, Mats wrote:> > >> >> When I try to boot, though, I get as far as the xen kernel >> trying to load, >> and then grub spits this out, and the machine reboots: >> >> root (hd0,0) >> Filesystem type is ext2fs, partition type 0x83 >> kernel /xen-3.0.4-1.gz >> [Multiboot-elf, <0x100000:0x9a878:0x5a788>, shtab=0x1f5078, >> entry=0x100000] >> module /vmlinuz-2.6.16.33-xen root=/dev/sda2 ro console=ttyS1,115200 >> noreboot >> sync_console >> [Multiboot-module @ 0x1f6000, 0x52afa0 bytes] >> module /initrd.img-2.6.16.33-xen >> [Multiboot-module @ 0x721000, 0x4b6000 bytes] >> >> >> Is there anything I''m missing? Anything I can do to help debug the >> problem? > > And nothing else appears on the console (serial port)? >Nope. The next line afer what''s shown above is after the machine resets. This is a server, so I get full BIOS redirection. I know I''m not missing anything there.> I don''t see anything directly wrong, but it''s obviously "not as it > should be". > > What version of gcc are you using - if you have a bleeding edge > compiler, maybe it clobbered the binaries in some way (we''ve seen > problems where new compilers optimization features causes Xen to "go > wrong" because the compiler makes assumptions about things that aren''t > matching reality). Gcc 4.0 or older should be fine tho''. >ned75:~# gcc -v Reading specs from /usr/lib/gcc-lib/x86_64-linux/3.3.5/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/x Thread model: posix gcc version 3.3.5 (Debian 1:3.3.5-13) This is a fresh debian install, no addons or changes at all. Paul _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2/27/07, Paul Archer <parcher@bcm.edu> wrote:> On Tue, 27 Feb 2007, Petersson, Mats wrote: > > >> > >> When I try to boot, though, I get as far as the xen kernel > >> trying to load, > >> and then grub spits this out, and the machine reboots: > >> > >> root (hd0,0) > >> Filesystem type is ext2fs, partition type 0x83 > >> kernel /xen-3.0.4-1.gz > >> [Multiboot-elf, <0x100000:0x9a878:0x5a788>, shtab=0x1f5078, > >> entry=0x100000] > >> module /vmlinuz-2.6.16.33-xen root=/dev/sda2 ro console=ttyS1,115200And the server has two active serial ports? jerry -- "Pay no attention to that man behind the curtain!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Paul Archer > Sent: 27 February 2007 17:10 > To: Petersson, Mats > Cc: xen-users@lists.xensource.com > Subject: RE: [Xen-users] AMD-64 install hangs on kernel load > > On Tue, 27 Feb 2007, Petersson, Mats wrote: > > > > > > >> > >> When I try to boot, though, I get as far as the xen kernel > >> trying to load, > >> and then grub spits this out, and the machine reboots: > >> > >> root (hd0,0) > >> Filesystem type is ext2fs, partition type 0x83 > >> kernel /xen-3.0.4-1.gz > >> [Multiboot-elf, <0x100000:0x9a878:0x5a788>, shtab=0x1f5078, > >> entry=0x100000] > >> module /vmlinuz-2.6.16.33-xen root=/dev/sda2 ro > console=ttyS1,115200 > >> noreboot > >> sync_console > >> [Multiboot-module @ 0x1f6000, 0x52afa0 bytes] > >> module /initrd.img-2.6.16.33-xen > >> [Multiboot-module @ 0x721000, 0x4b6000 bytes] > >> > >> > >> Is there anything I''m missing? Anything I can do to help debug the > >> problem? > > > > And nothing else appears on the console (serial port)? > > > Nope. The next line afer what''s shown above is after the > machine resets. > This is a server, so I get full BIOS redirection. I know I''m > not missing > anything there. > > > I don''t see anything directly wrong, but it''s obviously "not as it > > should be". > > > > What version of gcc are you using - if you have a bleeding edge > > compiler, maybe it clobbered the binaries in some way (we''ve seen > > problems where new compilers optimization features causes Xen to "go > > wrong" because the compiler makes assumptions about things > that aren''t > > matching reality). Gcc 4.0 or older should be fine tho''. > > > ned75:~# gcc -v > Reading specs from /usr/lib/gcc-lib/x86_64-linux/3.3.5/specs > Configured with: ../src/configure -v > --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang > --prefix=/usr > --mandir=/usr/share/man --infodir=/x > Thread model: posix > gcc version 3.3.5 (Debian 1:3.3.5-13)I use gcc 3.3.3 at the moment, and I think 3.3.5 is the version that comes with the SuSE version that my collegues in Austin tends to use (9.x I think), so I would say that''s fine - unless of course that particular version of debian build is broken... Can you do objdump -d on your xen-syms (in ...<xen-source>/xen) - just the first 15-20 lines should be enough to see that it''s looking about right - just mail it to me, not the list, as I don''t think most of the list will appreciate assmebly dumps ;-) -- Mats> > > This is a fresh debian install, no addons or changes at all. > > Paul > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Jerry Amundson > Sent: 27 February 2007 17:17 > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] AMD-64 install hangs on kernel load > > On 2/27/07, Paul Archer <parcher@bcm.edu> wrote: > > On Tue, 27 Feb 2007, Petersson, Mats wrote: > > > > >> > > >> When I try to boot, though, I get as far as the xen kernel > > >> trying to load, > > >> and then grub spits this out, and the machine reboots: > > >> > > >> root (hd0,0) > > >> Filesystem type is ext2fs, partition type 0x83 > > >> kernel /xen-3.0.4-1.gz > > >> [Multiboot-elf, <0x100000:0x9a878:0x5a788>, shtab=0x1f5078, > > >> entry=0x100000] > > >> module /vmlinuz-2.6.16.33-xen root=/dev/sda2 ro > console=ttyS1,115200 > > And the server has two active serial ports?Sometimes it''s the obvious things that catch you out - that looks suspicious to me too! [And perhaps more important than the number of serial ports: is the second (first is ttyS0) connected to your terminal?] -- Mats> > jerry > > -- > "Pay no attention to that man behind the curtain!" > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Date: Tue, 27 Feb 2007 18:22:36 +0100 > From: "Petersson, Mats" <Mats.Petersson@amd.com> > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > Jerry Amundson > > Sent: 27 February 2007 17:17 > > To: xen-users@lists.xensource.com > > Subject: Re: [Xen-users] AMD-64 install hangs on kernel load > > > > On 2/27/07, Paul Archer <parcher@bcm.edu> wrote: > > > On Tue, 27 Feb 2007, Petersson, Mats wrote: > > > > > > >> > > > >> When I try to boot, though, I get as far as the xen kernel > > > >> trying to load, > > > >> and then grub spits this out, and the machine reboots: > > > >> > > > >> root (hd0,0) > > > >> Filesystem type is ext2fs, partition type 0x83 > > > >> kernel /xen-3.0.4-1.gz > > > >> [Multiboot-elf, <0x100000:0x9a878:0x5a788>, shtab=0x1f5078, > > > >> entry=0x100000] > > > >> module /vmlinuz-2.6.16.33-xen root=/dev/sda2 ro > > console=ttyS1,115200 > > > > And the server has two active serial ports? > > Sometimes it''s the obvious things that catch you out - that looks > suspicious to me too! [And perhaps more important than the number of > serial ports: is the second (first is ttyS0) connected to your > terminal?] >I doubt is has anything to do with the serial ports. I might be missing something if for some reason it''s sending data to the other port, but not much. It reboots immediately after the xen kernel loads. And I doubt it''s sending data to the wrong serial port. This is a server machine with BIOS, grub, kernel, and getty output all coming to the right port. Paul _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users