boot option pci=noacpi for kernel 2.4.x
From: Sérgio Monteiro Basto <hidden>
Date: 2002-09-11 04:59:45
Attachments
- patchacpiintegration2.4.19_nopci [text/x-patch] 1682 bytes · preview
From: Sérgio Monteiro Basto <hidden>
Date: 2002-09-11 04:59:45
On Fri, 2002-07-19 at 03:35, Dominik Brodowski wrote:there is a kernel boot option "pci=noacpi", which disables ACPI-based IRQ routing this option exist for kernel 2.5.x I believe, but for kernel 2.4.x don't. look for this part of the kernel code : linux-2.4.20-pre5/arch/i386/kernel/pci-pc.c Wed Sep 4 22:10:00 2002
@@ -1409,7 +1409,7 @@ printk(KERN_INFO "PCI: Probing PCI hardware\n"); #ifdef CONFIG_ACPI_PCI if (!acpi_pci_irq_init()) pci_using_acpi_prt = 1; #endif
After testing the kernel with acpi_pci_irq_init()> 0, I realize that pci irq routing works different, because the function acpi_pci_irq_init returns 0 and pci_using_acpi_prt is passed with zero (= 0) . so I ask for your opinion, if with one boot parameter (for example acpi=nopci), we don't call acpi_pci_irq_init and assign pci_using_acpi=0 , kernel will work like having boot option pci=noacpi? conclusion it is possible acpi work without calling acpi_pci_irq_init etc.. ? This is for trying resolve the problem of the people whose computer hangs on boot with pci-irq problems. thanks Sérgiomb PS I send right now the patch for this propose if you think that can be possible and correct. I just test in my compaq pressario 706EA Laptop. new boot param : acpi=nopci.