The IBM eserver x440 is one of the machines which Linux forces to run with acpi=ht. This doesn''t work with Xen, presumably because "acpi=off to support machines with broken or no acpi support" is functionality not yet provided. If I boot with acpi=force, I can make it through the full boot sequence but the keyboard doesn''t work though I can log in over the net. If I don''t boot with acpi=force then Linux can''t find a root fs under Xen. I have two questions: 1. When will acpi=off support be added to Xen? 2. Does anyone have suggestions for ways to work around this problem to get as much functionality as possible? --Natasha _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 4 May 2005, at 18:17, Natasha Jarymowycz wrote:> 1. When will acpi=off support be added to Xen?We''re working on it, but it''s likely to be a few days at least.> 2. Does anyone have suggestions for ways to work around this > problem to get as much functionality as possible?Not sure there is any easy workaround. Linux''s apic.c and io_apic.c have been stripped down more than they ought to have been in the process of getting acpi working: we need to work out what functionality needs to be re-added to get acpi=off working. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
>> 1. When will acpi=off support be added to Xen? > > We''re working on it, but it''s likely to be a few days at least.Great. I just wanted to hear that it was days and not weeks or months.> Not sure there is any easy workaround. Linux''s apic.c and io_apic.c have > been stripped down more than they ought to have been in the process of > getting acpi working: we need to work out what functionality needs to be > re-added to get acpi=off working.Thanks, I''ll wait patiently. If you have some changes and would like them tested, I''d be happy to run them on the x440. -Natasha _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Natasha Jarymowycz wrote:> The IBM eserver x440 is one of the machines which Linux forces > to run with acpi=ht. This doesn''t work with Xen, presumably > because "acpi=off to support machines with broken or no acpi support" > is functionality not yet provided. If I boot with acpi=force, > I can make it through the full boot sequence but the keyboard > doesn''t work though I can log in over the net. If I don''t boot > with acpi=force then Linux can''t find a root fs under Xen. > > I have two questions: > 1. When will acpi=off support be added to Xen?As far as I remember, acpi=ht and acpi=off means different things. What IBM x440 requires is "acpi=ht", which uses ACPI tables to get logical CPUs (for HT), and uses MPS to get PCI interrupt routing info.> 2. Does anyone have suggestions for ways to work around this > problem to get as much functionality as possible?I think the right thing is to get the keyboard (or maybe BIOS) fixed. Is that USB keyboard or PS/2 keyboard connected to a USB port? Probably SMI is happening there. Jun> > > --Natasha > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 4 May 2005, at 19:00, Nakajima, Jun wrote:> As far as I remember, acpi=ht and acpi=off means different things. What > IBM x440 requires is "acpi=ht", which uses ACPI tables to get logical > CPUs (for HT), and uses MPS to get PCI interrupt routing info.For interrupt routing, which is what breaks, I think it is equivalent to acpi=off. We''ve fixed quite a few issues with the patch already, but haven''t yet dug into apic.c and io_apic.c -- I think those two are the key to successfully booting non-acpi. I don''t think it will be that tricky either -- mostly a case of carefully adding back code that was removed because it isn''t used when using ACPI for irq routing. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser wrote:> On 4 May 2005, at 19:00, Nakajima, Jun wrote: > >> As far as I remember, acpi=ht and acpi=off means different things. >> What IBM x440 requires is "acpi=ht", which uses ACPI tables to get >> logical CPUs (for HT), and uses MPS to get PCI interrupt routing >> info. > > For interrupt routing, which is what breaks, I think it is equivalent > to acpi=off. We''ve fixed quite a few issues with the patch already, > but haven''t yet dug into apic.c and io_apic.c -- I think those two > are the key to successfully booting non-acpi. I don''t think it will > be that tricky either -- mostly a case of carefully adding back code > that was removed because it isn''t used when using ACPI for irq > routing.My point is that it looks like the keyboard is broken now, and it has nothing to do with ACPI (PCI interrupt routing) if it''s PS/2. The plan for acpi=off is to use PIC mode, which is not desirable for a server like IBM x440. Jun> > -- Keir_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Wed, 4 May 2005 12:06:40 -0700, Nakajima, Jun <jun.nakajima@intel.com> wrote:> My point is that it looks like the keyboard is broken now, and it has > nothing to do with ACPI (PCI interrupt routing) if it''s PS/2. The plan > for acpi=off is to use PIC mode, which is not desirable for a server > like IBM x440.Perhaps I oversimplified by saying "the keyboard doesn''t work". The keyboard is actually attached to an RCM connected via ethernet to the x440. However, that was not really the point. The point was that without specifying acpi=force, XenLinux will not boot. XenLinux can not find a root filesystem. Scsi devices are not properly detected. It is my hope that this can be used as a datapoint to aid in determining the work which still needs to be done so that one day XenLinux will run on machines as easily and as well as Linux does. Natasha _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Natasha Jarymowycz wrote:> On Wed, 4 May 2005 12:06:40 -0700, Nakajima, Jun > <jun.nakajima@intel.com> wrote: > > >> My point is that it looks like the keyboard is broken now, and it has >> nothing to do with ACPI (PCI interrupt routing) if it''s PS/2. The >> plan for acpi=off is to use PIC mode, which is not desirable for a >> server like IBM x440. > > Perhaps I oversimplified by saying "the keyboard doesn''t work". The > keyboard is actually attached to an RCM connected via ethernet to the > x440. However, that was not really the point. > > The point was that without specifying acpi=force, XenLinux will not > boot. XenLinux can not find a root filesystem. Scsi devices are not > properly detected. It is my hope that this can be used as a > datapoint to aid in determining the work which still needs to be done > so that one day XenLinux will run on machines as easily and as well > as Linux does.Arun''s patch allows one to set "acpi=force" for dom0 xenlinux, fulling enabbling ACPI in dom0 up to the level where the native Linux supports. What''s missing there is to fall back to MPS, which is required for "acpi=ht". Jun> > Natasha_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Nakajima, Jun wrote:>>The point was that without specifying acpi=force, XenLinux will not >>boot. XenLinux can not find a root filesystem. Scsi devices are not >>properly detected. It is my hope that this can be used as a >>datapoint to aid in determining the work which still needs to be done >>so that one day XenLinux will run on machines as easily and as well >>as Linux does. > > > Arun''s patch allows one to set "acpi=force" for dom0 xenlinux, fulling > enabbling ACPI in dom0 up to the level where the native Linux supports. > What''s missing there is to fall back to MPS, which is required for > "acpi=ht".Parsing the MPS table is working now on my machine, but interrupts are still not getting routed. I''m probably a couple of bug fixes away from getting acpi=off/ht to work. -Arun _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 4 May 2005, at 20:06, Nakajima, Jun wrote:> My point is that it looks like the keyboard is broken now, and it has > nothing to do with ACPI (PCI interrupt routing) if it''s PS/2. The plan > for acpi=off is to use PIC mode, which is not desirable for a server > like IBM x440.We need to fall back to default ''IO-APIC'' mode, or we are going to suck on non-ACPI servers (plenty exist, even if they are somewhat legacy these days). -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Arun Sharma wrote:> Parsing the MPS table is working now on my machine, but interrupts are > still not getting routed. I''m probably a couple of bug fixes away from > getting acpi=off/ht to work. >People having trouble with the PCI/IOAPIC patch, could you give this patch a try? It works with acpi=off and acpi=ht on my machine. -Arun PS: PCI initialization is sensitive to the order of object files within the Makefile. I think that''s a bit fragile... _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel