Hans-Joachim Baader wrote:
> test10, compiled with gcc 2.95.2, won't boot on one of my machine.
> It stops after the "now booting the kernel" message. Yes, I have
> configured Virtual Terminal and VGA text console.
> 00:00.0 Host bridge: Acer Laboratories Inc. [ALi] M1541 (rev 04)
> 00:01.0 PCI bridge: Acer Laboratories Inc. [ALi] M5243 (rev 04)
> 00:03.0 Bridge: Acer Laboratories Inc. [ALi] M7101 PMU
> 00:07.0 ISA bridge: Acer Laboratories Inc. [ALi] M1533 PCI to ISA Bridge [Aladdin
>IV] (rev c3)
> 00:0f.0 IDE interface: Acer Laboratories Inc. [ALi] M5229 IDE (rev c1)
Does it boot with the attached patch?
--
Jeff Garzik | "Mind if I drive?" -Sam
Building 1024 | "Not if you don't mind me clawing at the
MandrakeSoft | dash and shrieking like a cheerleader."
| -Max
Index: drivers/ide/ide-pci.c
===================================================================
RCS file: /cvsroot/gkernel/linux_2_4/drivers/ide/ide-pci.c,v
retrieving revision 1.1.1.6
retrieving revision 1.1.1.6.6.1
diff -u -r1.1.1.6 -r1.1.1.6.6.1
--- drivers/ide/ide-pci.c 2000/10/27 07:45:53 1.1.1.6
+++ drivers/ide/ide-pci.c 2000/10/31 22:43:32 1.1.1.6.6.1
@@ -528,10 +528,7 @@
autodma = 1;
#endif
-#if 1 /* what do do with this useful tool ??? */
- if (pci_enable_device(dev))
- return;
-#endif
+ pci_enable_device(dev);
check_if_enabled:
if (pci_read_config_word(dev, PCI_COMMAND, &pcicmd)) {